ajax functionality not working ???
Posted
by rajesh
on Stack Overflow
See other posts from Stack Overflow
or by rajesh
Published on 2010-05-21T10:35:48Z
Indexed on
2010/05/21
10:40 UTC
Read the original article
Hit count: 203
the problem is that 1)how can i come to know that the ajax is working properly?. 2)and how can i retrieve this sent data in controller in cakephp?
function checkLength(obj,url){ alert("URL="+url+" OBJ="+obj);
if(obj) { var params = 'query='+obj;
var myAjax = new Ajax.Request(url,{method: 'post',parameters:params,onSuccess: loadResponse});
}
© Stack Overflow or respective owner