Tag Archive: jQuery

Wanted to write my code more eloquently

March 4, 2016 5:59 pm Published by Leave your thoughts

I was never classically trained in javascript and I always wonder about my code quality. I don’t think I ever write any javascript in “proper” or “eloquent” ways. So when I wrote a simple script which manipulates a DOM in.....

My thoughts on Front-end these days

September 26, 2015 9:04 pm Published by Leave your thoughts

With Web API becoming more powerful and javascript syntax becoming ever so simple, do we really need to use jQuery anymore? A: I think not. In a year or two, I feel that cross-browser support for javascript will also be.....

jQuery Event Listener

November 18, 2013 11:41 pm Published by Leave your thoughts

Adding and removing an event listener in jQuery is neat & simple. Adding $("#element") .on("click", doSomething) .on("click", doSomethingElse); Removing just one of the event $("#element") .off("click", doSomething); Removing all $("#element") .off("click", doSomething) .off("click", doSomethingElse); Pretty neat, ain’t it?