Whenever my form postback from a dropdown control I get a javascript error stating, "Object doesnt support this property or method." I think this happens on theform.submit(); line below. Does anyone know how I can fix this problem?
function __doPostBack(eventTarget, eventArgument) {
var theform = document.Form1;
theform.__EVENTTARGET.value = eventTarget;
theform.__EVENTARGUMENT.value = eventArgument;
theform.submit();
}
Thanks,
James
function __doPostBack(eventTarget, eventArgument) {
var theform = document.Form1;
theform.__EVENTTARGET.value = eventTarget;
theform.__EVENTARGUMENT.value = eventArgument;
theform.submit();
}
Thanks,
James