S
Svein Terje Gaup
When I try to validate my webpages on http://validator.w3.org the validation
fails because of the auto-generated postback function:
<script language="javascript">
<!--
function __doPostBack(eventTarget, eventArgument) {
var theform = document.defaultframework_Default;
theform.__EVENTTARGET.value = eventTarget;
theform.__EVENTARGUMENT.value = eventArgument;
theform.submit();
}
// -->
</script>
The reason for failing is that the script tag is missing the TYPE attribute.
Th script tag should be like this to be valid HTML 4.01:
<script language="javascript" type="text/Jscript">
Is there any way, any options or method for altering this SCRIPT tag?
I probably should say that I'm using .NET Framework 1.0.
Regards
Svein terje Gaup
fails because of the auto-generated postback function:
<script language="javascript">
<!--
function __doPostBack(eventTarget, eventArgument) {
var theform = document.defaultframework_Default;
theform.__EVENTTARGET.value = eventTarget;
theform.__EVENTARGUMENT.value = eventArgument;
theform.submit();
}
// -->
</script>
The reason for failing is that the script tag is missing the TYPE attribute.
Th script tag should be like this to be valid HTML 4.01:
<script language="javascript" type="text/Jscript">
Is there any way, any options or method for altering this SCRIPT tag?
I probably should say that I'm using .NET Framework 1.0.
Regards
Svein terje Gaup