Hi, I am getting "Microsoft JScript runtime error: 'theForm' is undefined" erorr on page load and also when I try to expand the node from WHDG. the error is coming at below function. _addOtherHandlers:
Hi,
I am getting "Microsoft JScript runtime error: 'theForm' is undefined" erorr on page load and also when I try to expand the node from WHDG. the error is coming at below function.
_addOtherHandlers:
function () {
{
this._registerOtherHandlers([{ "submit": theForm, "beforeunload": window}]);
},
Please suggest me how to fix this problem.
Thanks,
Chinnayya
I had the same error when I deployed my solution onto a Windows Server 2003 with IIS6 installed. On my development machine (Windows 7 with installed IIS) everything works fine. Finally renaming the form from "form1" to "theForm" did the trick:
<form id="theForm" runat="server">