onwebdev

Web development by Gabriele Romanato

  • Home
  • Curriculum Vitae - Resumé
  • Demos, examples and experiments

Inserting jQuery in an application's namespace

Posted on September 17, 2011

The global jQuery's function noConflict() is useful not only to avoid conflicts with other libraries using the $ alias, but also to include jQuery in our application's namespace by storing it in a property. Let's see how.

Read more »
Posted in jquery |
Email This BlogThis! Share to X Share to Facebook

jQuery: attaching events to objects

Posted on September 16, 2011

The jQuery's event handling goes far beyond the simple attaching events to HTML elements and allows us to attach events to JavaScript objects. In fact, the $() wrapper works also on objects, thus providing a quick and simple access to object's properties and methods when combined with the bind() method. Let's see the details.

Read more »
Posted in jquery |
Email This BlogThis! Share to X Share to Facebook

WPUtils: a jQuery utility for Wordpress

WPUtils (now in its first version) is a jQuery utility to hook into a Wordpress site. I've created this utility to help developers with attaching actions to specific Wordpress sections. For that reason, WPUtils features several helper functions that check if we're on a specific Wordpress page. Let's see the details.

Read more »
Posted in jquery, wordpress |
Email This BlogThis! Share to X Share to Facebook

Post navigation

← Previous Next →

Archives

Proudly powered by Blogger. Converted by Smashing Blogger for LiteThemes.com.