I just inherited this code from someone who developed it back in 02. I need to move the site over to a new IIS Server.
This script resides on a web form calculator all of the other JavaScript’s work but when I try to call the save function I get a time out error in the browser. Does anyone know why this would not be working on IIS?
Thanks,
Scott
This script resides on a web form calculator all of the other JavaScript’s work but when I try to call the save function I get a time out error in the browser. Does anyone know why this would not be working on IIS?
Code:
function saveData()
{
if(window.XMLHttpRequest) {
xml_http = new XMLHttpRequest();
} else if(window.ActiveXObject) {
xml_http = new ActiveXObject("Microsoft.XMLHTTP");
}
xml_http.onreadystatechange = show_results;
xml_http.open("POST", "goal.php", true);
xml_http.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8");
str = getFormElements("frmdata");
//alert(str);
xml_http.send(str);
}
Thanks,
Scott
Comment