Well, after some reading, I did something similar except that I didn't use keydown or click events since well, it is two things to check. Since this is only needed for IE, I ended up using the focusin event. For anyone curious:
http://jsfiddle.net/Xgr4n/9/ On Apr 15, 5:47 pm, Fábio M. Costa <[email protected]> wrote: > The way it works on some frameworks out there is kind of nasty. They add a > keydown event on the form (keydown bubbles) and check for the enter key on > the text inputs (text/password/etc) or a click on the submit buttons of the > form. Thats how the submit "bubbles up" on IE. > > -- > Fábio Miranda Costa > Solucione Sistemas > Engenheiro de interfaces > > > > On Thu, Apr 15, 2010 at 6:39 PM, duclet <[email protected]> wrote: > > I have tried them and none of them work. The problem here though isn't > > because of the methodology, it is because the submit event just > > doesn't bubble up the DOM in IE. I was wondering if someone knows a > > way to forcefully make it bubbles. > > > -- > > To unsubscribe, reply using "remove me" as the subject.
