spewn
Programmer
- May 7, 2001
- 1,034
here's my code:
this code passes the value of 'a' fine in IE, but in firefox, doesn't seem to be passing the value...at all.
the issue seems to be in the "http.send('x='+a);" part.
even if i put "http.send('x=test');", still nothing.
any ideas?
thanks!
Code:
function runclist(a) {
http.open('get', 'get-c.pl');
http.onreadystatechange = CListResponse;
http.send('x='+a);
}
function CListResponse() {
if(http.readyState == 4){
response = http.responseText;
document.getElementById('clist').innerHTML=response;
}
}
this code passes the value of 'a' fine in IE, but in firefox, doesn't seem to be passing the value...at all.
the issue seems to be in the "http.send('x='+a);" part.
even if i put "http.send('x=test');", still nothing.
any ideas?
thanks!