Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: expected identifier error


Message #1 by "Cary Pruitt" <cypruitt@y...> on Fri, 29 Mar 2002 23:55:52
I have an web form that posts back to itself.  The page works but for some 
reason there is a JavaScript error/warning upon the pages return.  It says 
there Line: 22 Char: 26 Error: Expected Identifier Code:0 which is roughly 
the location of the autogenerated JavaScript below.  Any thoughts on what 
I've not named or passed?

<script language="javascript">
<!--
	function __doPostBack(eventTarget, eventArgument) {
		var theform = document.default;
		theform.__EVENTTARGET.value = eventTarget;
		theform.__EVENTARGUMENT.value = eventArgument;
		theform.submit();
	}
// -->
</script>

  Return to Index