Problem with form not submitting when Enter is pressed has its background in implementation of event bubbling and/or event capturing. In Internet Explorer events bubbles, on the other hand in other browsers events are being captured and bubbled. Yay!
Posts Tagged ‘javascript’
-
jQuery solution for form submitting on enter – the event capturing/bubbling problem
May 27, 2011 by Dusan Gledovic
Category JavaScript, jQuery | Tags: javascript,jQuery,linkedin | No Comments
-
Classical constructor function in JavaScript class
January 29, 2011 by Dusan Gledovic
I was in search (~5 min) for classical constructor for classes in JavaScript. What I found is nothing. It lasted too short, I guess, but anyway I did some tests and I got to the solution that could easily act as JavaScript class constructor.
Category JavaScript, Object Oriented JavaScript | Tags: javascript,javascript constructor function,linkedin,object oriented javascript | No Comments