As you probably know, ASP.NET injects javascript code into a form, for example:
<script type="text/javascript">
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 is that if I turn off Javascript (using the WebDev toolbar in FF), I get
"The browser does not support the script" at the top of the page.
Does anyone know how I can set this tag for this js auto input bit?
Thanks Duncan
source
share