W3C home > Mailing lists > Public > www-dom@w3.org > October to December 2001

HTMLFormElement submit Method

From: Steven Elliott <elliott@mail.cibertribe.pt>
Date: Tue, 11 Dec 2001 19:04:43 +0000
To: <www-dom@w3.org>
Message-ID: <B83C094B.1FEF%elliott@mail.cibertribe.pt>
Microsoft (MSDN site) claims that the submit method of a form does not
invoke the onsubmit event handler.

Microsoft goes on to claim on the same page that this method (submit method)
is defined in the W3C DOM Level 1.

The reference I find for the HTMLFormElement in the DOM is section 2.5.5.
Object Definitions.  Here it defines the submit method as performing the
same action as a submit button which implies invoking the onsubmit event.

I cannot find any specific reference here for whether or not the onsubmit
event should or should not be included.

Can you clarify this please because I believe not calling an onsubmit method
if one is defined for a form would be a violation of the W3C L1 DOM?


Steven Elliott
Received on Tuesday, 11 December 2001 14:04:55 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:09 UTC