I have a bunch of websites at a host company that all have the same error. It only happens on this one web server. The postback script that is generated has a gliche in it. You can see that a - (hyphen) is inserted after the else {.
Does anyone have any idea why the postback is generated incorrectly?
function __doPostBack(eventTarget, eventArgument) {
var theform;
if (window.navigator.appName.toLowerCase().indexOf("netscape") > -1) {
theform = document.forms["Form1"];
}
else {-
theform = document.Form1;
}
theform.__EVENTTARGET.value = eventTarget.split("$").join(":");
theform.__EVENTARGUMENT.value = eventArgument;
theform.submit();