Hey everyone,
I have a weird thing going on here and hoped someone could shed some light on it. The following code:
produces an alert telling me the value of fid BUT fails on the attempt to set the action. It only does this in IE. The failure message is:
A runtime error has occurred.
Line: 210
Error: Object doesn't support this property or method.
What's going on here? I've double checked to make sure my form is only declared once and that it is properly closed. Why would IE throw this error but Firefox runs the code with no errors?
-Greg
I have a weird thing going on here and hoped someone could shed some light on it. The following code:
Code:
alert(document.frmMessage.fid.value);
document.frmMessage.action = "messageContacts.asp";
produces an alert telling me the value of fid BUT fails on the attempt to set the action. It only does this in IE. The failure message is:
A runtime error has occurred.
Line: 210
Error: Object doesn't support this property or method.
What's going on here? I've double checked to make sure my form is only declared once and that it is properly closed. Why would IE throw this error but Firefox runs the code with no errors?
-Greg