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!
-
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
-
Big and Little Endian Explained
March 4, 2011 by Dusan Gledovic
I was looking for resource to refresh my memory on story of endians and stumbled upon this great post:
Understanding big and little endian byte order
I am really impressed how some people know to deliver such a great contribution to cyberspace.
Bravo and thank you to the author Kalid Azad.
Category Others | Tags: , computing, programming | No Comments
-
JavaScript Singleton Design Pattern Demystified
February 7, 2011 by Dusan Gledovic
Singleton is one of the creational design patterns. It serve purpose of “restricting the instantiation of a class to one object”. (wikipedia)
Because of its nature, JavaScript has different way of implementation of the Singleton Pattern than “traditional” object-oriented languages like Java, C#, PHP etc.
Category JavaScript, Object Oriented JavaScript | Tags: , design patterns, javascript design patterns, linkedin, object oriented javascript | 2 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
-
CounterApart – JavaScript Counter class to count them all
January 26, 2011 by Dusan Gledovic
CounterApart – JavaScript Counter class to count anything you need to count on the page. You can have as many groups of things to count as you want. You just need to register them and you are good to go.
Category JavaScript, Object Oriented JavaScript | Tags: , javascript, javascript counter class, linkedin, object oriented javascript | No Comments
-
And finally, I installed it!
January 15, 2011 by Dusan Gledovic
After ages of “having more important stuff at the moment”, I finally did it in 5 minutes as WP crew brags about, I installed the WordPress engine on my site.
Category General | Tags: | No Comments