var xmlHttp = createXMLHttp();
xmlHttp.open("Post", "GetPrice.ashx", true);
xmlHttp.setRequestHeader("Content-Type", "application/x-www-form-urlencoded; charset=UTF-8");
xmlHttp.onreadystatechange = function() {
if (xmlHttp.readyState == 4) {
if (xmlHttp.status == 200) {
document.getElementById("Text2").value = xmlHttp.responseText;
}
}
};
xmlHttp.send("name=" + name);
xmlHttp.open("Post", "GetPrice.ashx", true);
xmlHttp.setRequestHeader("Content-Type", "application/x-www-form-urlencoded; charset=UTF-8");
xmlHttp.onreadystatechange = function() {
if (xmlHttp.readyState == 4) {
if (xmlHttp.status == 200) {
document.getElementById("Text2").value = xmlHttp.responseText;
}
}
};
xmlHttp.send("name=" + name);