QUOTE(szupie @ Jan 27 2006, 02:19 AM)

I did not put quotes around the parameters I wanted to pass (no one told me it needed to have quotes!).
Well before doing that just read the docs atleast once.. i hate reading docs but atleast i go through once what are the parameters possible and what it is types....
QUOTE(szupie @ Jan 27 2006, 02:19 AM)

For that send statement, my code is http_request.send('md5=hello');. Then, when the response comes back, I create a new page and document.write the response to the page. This page's status bar never finishes loading,
Try to use like this
xmlHttpobj.open("POST","yourpage.php?md5=hello");
xml.Httpobj.send("");
check out your server is working properly..
QUOTE(szupie @ Jan 27 2006, 02:19 AM)

and the page doesn't seem to have taken any parameters. I've made a mistake. Did anyone spot anything wrong with my code?
due to the browser behavious also u get some error (so problem is not from ur side)
Sometimes if u make request to some scripts repeatedly the broswer checks its cache if it available it gives from cache .. it does not go to original server.. So u will get confuse becaz u will the ouput that makes u feel that AJAX is working but u get the same result everytime becaz is it static from cache... u wont get proper response ... well how to solve this...
There is a solution for every problem.....
var myRand = parseInt(Math.Random() * 999999);
xmlhttpobj.open("POST",yourpage.php?md5=Hello&myRand="+myRand);
xmlhttpobj.onreadtstatechange = func.......
xmlhttpobj.send("");
so ur url is not the same at any time becaz a new random is attached so that it does not get one from cache... it feels it is something new and ask the server........
hope u can solve it if u get still problem post the AJAX related problem...
may i know what extension u r writting.......
Comment/Reply (w/o sign-up)