Hello,
I have this:
function process(a,b)
{
xmlHttp=GetXmlH ttpObject();
//alert(xmlHttp)
if (xmlHttp==null)
{
alert ("Browser does not support HTTP Request");
return
}
var url="http://www.xx.com/xxxxx/CheckEmailAddre ss.php"
url=url+"?Email ="+a+"&Password ="+b
xmlHttp.open("G ET",url,true) ;
xmlHttp.send(nu ll);
xmlHttp.onready statechange=sta teChanged;
}
and I want to pass a and b to "stateChang ed"
but its not working as:
xmlHttp.onready statechange=sta teChanged(a,b); I'm getting a "type
mismatch"
Any Help?
Thanks
Mike
I have this:
function process(a,b)
{
xmlHttp=GetXmlH ttpObject();
//alert(xmlHttp)
if (xmlHttp==null)
{
alert ("Browser does not support HTTP Request");
return
}
var url="http://www.xx.com/xxxxx/CheckEmailAddre ss.php"
url=url+"?Email ="+a+"&Password ="+b
xmlHttp.open("G ET",url,true) ;
xmlHttp.send(nu ll);
xmlHttp.onready statechange=sta teChanged;
}
and I want to pass a and b to "stateChang ed"
but its not working as:
xmlHttp.onready statechange=sta teChanged(a,b); I'm getting a "type
mismatch"
Any Help?
Thanks
Mike
Comment