use this in your javascript after you get your array :-
$.ajax(
{
type: "POST",
url: "path to controller/"+array,
data:' ',
success:function(msg)
{
var response =eval("("+msg+")");
}
});
If you are using json_encode in your controller then use eval for the
message that is returned back to you. Other wise simple message will do your
work.
--
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=.