what is the wrong in the code ???

Posted by rajesh on Stack Overflow See other posts from Stack Overflow or by rajesh
Published on 2010-05-20T05:38:57Z Indexed on 2010/05/20 5:50 UTC
Read the original article Hit count: 204

Filed under:
|
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, onComplete: loadResponse 
        }); 
    }
}

is nor working why i think there is requirement of include some files in it.which is that??/

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about AJAX