ajax functionality not working ???
- by rajesh
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});
}