var XmlHttp;
if(window.ActiveXObject){
XmlHttp=new ActiveXObject("Microsoft.XMLhttp");
}else if(window.XMLHttpRequest){
xmlHttp=new XMLHttpRequest();
alert("asdfasdf");
}
function sendAJAX(par)
{
XmlHttp.Open("POST","receive.aspx" par,true);
XmlHttp.send();
XmlHttp.onreadystatechange=ServerProcess;
}
function ServerProcess()
{
if (XmlHttp.readystate==4 || XmlHttp.readystate=='complete')
{
document.getElementById("DropDownList1").style.display="";
var s=XmlHttp.responsetext;
var al=s.split(";");
document.all.DropDownList1.innerHTML="";
var op;
for(var i=0;i
{
op=document.createElement("option");
op.innerText=al
;
op.value=al;
document.all.DropDownList1.appendChild(op);
}
}
}