form submit events

Anders Nawroth <[email protected]> Thu, 16 Mar 2006 01:17:06 +0100
Newsgroups gmane.comp.web.dom.wdf
Organization Team Nawroth
Message-ID <[email protected]>
Hello!

I'm adding two event listeners to the submit event of a form.
The first event handler performs a validation, the second handles the 
form submission (I need do do some extra stuff before submitting the form).

My problem:
I can't find out how the first event handler should do to stop event 
propagation to the second one (in case of failed validation). I've tried 
to handle capture/bubble phase and so on, but still can't get it right.

Does anyone have a working example of multiple submit event handlers? 
Any special gotchas when doing stopping form submit events?

/AndersN



Unsubscribe
[email protected]

List info
http://www.quirksmode.org/dom/list.html 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/wdf-dom/

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/