Topic
9 replies Latest Post - ‏2014-09-20T11:11:30Z by jitupkp
geoffcox
geoffcox
3 Posts
ACCEPTED ANSWER

Pinned topic wny data not received by php file?

‏2011-10-16T12:27:29Z |
Hello

I have the following code. The values are not displayed by the php code. If I use the generated url on its own they are received!

What is wrong?!

Thanks

Geoff

function startRequest(url) {

createXMLHttpRequest();
xmlHttp.onreadystatechange = handleStateChange;
xmlHttp.open("GET",url,true);
xmlHttp.send(null);
}

function handleStateChange() {
if(xmlHttp.readyState == 4) {
if(xmlHttp.status == 200) {
}
}
}

startRequest("http://www.micro-active.com/music-events/members/music-events-right-ajax-version.php?searchfield=" + value + "&term=" + newdate);
Updated on 2012-05-10T07:57:22Z at 2012-05-10T07:57:22Z by dasdonna