Hi all,
I'm having issues with my first xmlHTTP.send()
I have a JS function that is called from onChange of a radio button set. The JS function is passed three parameters that i'm using to create the url in this:
xmlHttp.open("POST",url,true)
I have tested and the variables are passed into the function. I'm not sure if i'm doing this correctly, but here is some of the function:
the page.php works on its own if i use another page to redirect to the page.php with the required queryString values. I'm not sure why things aren't working, anyu ideas?
Thanks
I'm having issues with my first xmlHTTP.send()
I have a JS function that is called from onChange of a radio button set. The JS function is passed three parameters that i'm using to create the url in this:
xmlHttp.open("POST",url,true)
I have tested and the variables are passed into the function. I'm not sure if i'm doing this correctly, but here is some of the function:
Code:
var url="page.php"
url=url+"?q="+str
url=url+"&p1="+p1
url=url+"&p2="+p2
xmlHttp.open("POST",url,true)
xmlHttp.send()
}
the page.php works on its own if i use another page to redirect to the page.php with the required queryString values. I'm not sure why things aren't working, anyu ideas?
Thanks