Please post the code so we can see what is going on with the problem.
my application when Country dropdown is selected the state and city drop down should be filled..
i am using this by callback.
my code is ..
if (window.XMLHttpRequest)
{
var xmlRequest = new XMLHttpRequest();
postData = __theFormPostData +
"__SCRIPTCALLBACKID=" + eventTarget +
"&_ScriptcallType=" + callType +
"&__SCRIPTCALLBACKPARAM=" + escape(eventArgument + "$" + callType).replace(re, "%2B");
if (pageUrl.indexOf("?") != -1)
{
xmlRequest.open("GET", pageUrl + "&" + postData, false);
}
else
{
xmlRequest.open("GET", pageUrl + "?" + postData, false);
}
xmlRequest.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
xmlRequest.send(null);
try
{
response = xmlRequest.responseText;
status = xmlRequest.getResponseHeader("__SCRIPTCALLBACKSTAT US");
if (status == "200")
{
ShowResponse(response, context);
}
else
{
ShowErrorResponse(response, context);
}
else
{
var xmlRequest = new XMLHttpRequest();
xmlRequest.onreadystatechange = WebForm_OnClientCallbackComplete;
var __callbackObject = new Object();
__callbackObject.xmlRequest = xmlRequest;
__callbackObject.eventTarget = eventTarget;
__callbackObject.eventArgument = eventArgument;
__callbackObject.context = context;
addToCallbackList(__callbackObject);
postData = __theFormPostData +
"__SCRIPTCALLBACKID=" + eventTarget +
"&_ScriptcallType=" + callType +
"&__SCRIPTCALLBACKPARAM=" + escape(eventArgument + "$" + callType).replace(re, "%2B");
if (pageUrl.indexOf("?") != -1)
{
xmlRequest.open("GET", pageUrl + "&" + postData, false);
}
else
{
xmlRequest.open("GET", pageUrl + "?" + postData, false);
}
xmlRequest.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
xmlRequest.send(null);
}
}