search for: putresponse

Displaying 1 result from an estimated 1 matches for "putresponse".

Did you mean: getresponse
2006 Jun 30
0
sync reads or big files problem
...function starttest() { //main function var time = new Date(); starttime = time.getTime(); //get starting time of this iteration var myAjax = new Ajax.Request(''getfile.php'',{method: ''post'', parameters: '''', onComplete: putresponse}); /*request for data without parameters*/} function putresponse(response) { var time = new Date(); endtime = time.getTime(); //get time of ineration end var runtime = endtime-starttime; //get this iteration running time totaltime=totaltime+runtime; //incre...