On Sep 26, 2012, at 5:00 AM, kstubs wrote:

> Does a form submit bubble up to the containing element?
> I'd like to capture form submit on a container div for a form submit.  Reason 
> being:  I create the form on the fly based on whichever child element the 
> user has selected (if any).  I'd like to add a form submit handler to the 
> container, much like I do for click events, to handle and setup the form 
> submission one time.

I'm not sure if it does in every browser. You may be able to simulate this with 
synthetic events, using fire() on the form to send out the broadcast, and 
observe() on the DIV to receive.

Walter

-- 
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.

Reply via email to