G
Guest
I have the following in my asp.net html page
<script language="JavaScript" type=text/javascript
Function loader()
<% If Not Page.IsPostBack Then %
document.form1.submit()
<% End If %
</script><BODY onLoad="loader();" leftMargin="0" topMargin="0"><form id="form1" runat="server"
When I try to go to that page I get two error: 1) Microsoft Jscript runtime Error Object Expected at the <BODY onLoad="loader();" leftMargin="0" topMargin="0"> lin
2) An Error: Expected ';' at the <script language="JavaScript" type=text/javascript> lin
What's up? It seems like the code is right from all the internet examples I've seen.
<script language="JavaScript" type=text/javascript
Function loader()
<% If Not Page.IsPostBack Then %
document.form1.submit()
<% End If %
</script><BODY onLoad="loader();" leftMargin="0" topMargin="0"><form id="form1" runat="server"
When I try to go to that page I get two error: 1) Microsoft Jscript runtime Error Object Expected at the <BODY onLoad="loader();" leftMargin="0" topMargin="0"> lin
2) An Error: Expected ';' at the <script language="JavaScript" type=text/javascript> lin
What's up? It seems like the code is right from all the internet examples I've seen.