search for: responseisfailur

Displaying 2 results from an estimated 2 matches for "responseisfailur".

Did you mean: responseisfailure
2006 Apr 12
11
innerHTML and scripts not running
...me html code. function showInfo(go_url){ if($("display_area") && go_url){ var xmlHttp= new Ajax.Request(go_url, {method: "post", parameters: Form.serialize(document.forms[0]), onComplete:function(){ if(xmlHttp.responseIsFailure()) { var sts = xmlHttp.transport.status ? xmlHttp. transport.status : "undefined"; $("debug_msg").value= "XMlHttpRequest returned response status "+sts; document.getElementById("debug...
2007 Mar 02
12
Prototype: Ajax.Request w/asynchronous: false
All, I have the following Ajax call: new Ajax.Request(action, {asynchronous: false, method: ''post'', parameters: params_to_pass, evalScripts: true}); The action that I''m calling is using render :update to send back Javascript. When asynchronous is set to true above, then the Javascript is executed (because of evalScripts: