sign_seventh Posted August 29, 2006 Share Posted August 29, 2006 function getCities(obj){ var oXmlHttp = createXMLHttp(); oXmlHttp.open("GET", "GetCities.aspx?StateInitials=" +obj.value, true); oXmlHttp.onreadystatechange = function() { if(oXmlHttp.readyState == 4) { if(oXmlHttp.status == 200) { displayMsg(oXmlHttp.responseText); }else { displayMsg("An error occurred:" + oXmlHttp.statusText); } }} oXmlHttp.send(""); } the page is not opening oXmlHttp.open("GET", "GetCities.aspx?StateInitials=" +obj.value, true);and there is no error in my javascript.. what could be the problem? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now