Re: Re: form submit events

Anders Nawroth <[email protected]> Thu, 16 Mar 2006 09:07:51 +0100
Newsgroups gmane.comp.web.dom.wdf
Organization Team Nawroth
Message-ID <[email protected]>

Adam Griffis skrev:
> I would probably do the following:
>
> Have a javascript variable global to all the functions, perform each
> function dependent on that variable, and also submit the form based on
> that variable.
>   

Thanks for your input!

I found an other way to workaround the problem: Instead of adding the 
second function as an event handler, I'm setting a custom property on 
the form element, with a reference to the function. The first function 
then simply checks if there are any such functions to run on validation 
sucess.

But I'd still prefer a solution that uses the built in event 
bubbling/capturing mechanisms in JavaScript.

/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/