Tag Archives: jQuery

Styling fonts with jQuery: a tutorial

Posted in Javascript on September 4, 2015

Recently we showed some CSS font properties. Sure CSS3 can achieve a whole lot and it is often better for performance of your site to achieve as much as you need with CSS only, but there are a lot of funny jQuery plugins and today I like to show you some examples of these as well.

Read more

Event delegation in jQuery using .on

Posted in Javascript on February 14, 2013

With jQuery it is easy to attach event handlers to a DOM element. However, suppose a list of links is added to the page after clicking a button. A normal click event attached on page load will not work: nothing happens, not even an error is thrown in your face. Luckily, with event delegation we can solve this issue.

Read more