As you probably know, ASP.NET injects some javascript code to the form, like so:
<script type="text/javascript"> //<![CDATA[ var theForm = document.forms['aspnetForm']; if (!theForm) { theForm = document.aspnetForm; } function __doPostBack(eventTarget, eventArgument) { if (!theForm.onsubmit || (theForm.onsubmit() != false)) { theForm.__EVENTTARGET.value = eventTarget; theForm.__EVENTARGUMENT.value = eventArgument; theForm.submit(); } } //]]> </script>
Now, the problem with this is that if I turn Javascript off (using WebDev toolbar in FF), I get
"Browser does not support script" at the top of the page.
Does anyone know how I can set this tag, for this bit of auto-injected js?
Thanks Duncan