If I have the following jscript code on a classic asp page, how do I supply the "eventArgs e" in the call so it will be available here in the jscript? The "eventArgs e" being an asp.net term, I am not sure what is used here.
response.write "<script type='text/javascript'>"
response.write "function onFormSubmit(e)"
response.write "{ var keycode;"
response.write "if(window.event) keycode = window.event.keyCode;"
response.write "else if (e) keycode = e.which;"
response.write "else return true;"
response.write "if (keycode == 13)"
response.write "{ myform.submit();"
response.write "return false; }"
response.write "else return true; }"
response.write " </script>"
And the call looks like this:
response.write "<form name='myform' action='logon' method='post' onSubmit='onFormSubmit()'>"
Thank you, Jim