onSubmit Javascript HTMLDB form [message #186817] |
Wed, 09 August 2006 13:01 |
tkstock
Messages: 28 Registered: April 2006 Location: Richmond
|
Junior Member |
|
|
Ok, this one's a toughy.
I am running javascript to try and set the form.onsubmit event for the form on the page.
For some reason, it isn't working.
Here is the Javascript which is run on the page load event:
var frm = document.getElementsByTagName('FORM');
frm[0].onsubmit=OnFormSubmit;
alert(frm[0].onsubmit);
The alert returns the entire text of the OnFormSubmit function. When I create a page to do this offline (outside of OAE), it works fine - the function is called. Inside of OAE, the function is not called at all.
So far on this forum I've posted several questions pertaining to OAE - not one of which has recieved an answer. Am I being too vague? Are the questions too tough?
Anyone? Ideas? Thanks!!
|
|
|