Showing posts with label jQuery. Show all posts
Showing posts with label jQuery. Show all posts

Sunday, December 4, 2011

Learn jQuery directly in the browser


The Best Way to Learn jQuery

jQuery Air is a new way to learn jQuery directly in the browser.

Learning jQuery for the first time should be fun, and jQuery Air allows you to get your feet wet in the most practical way possible.

You'll watch five videos, each followed by code challenges where you'll learn to code jQuery and apply principles directly in the browser.

What Is This?

  • Learn basic JavaScript concepts including declaring variable, functions, and working with arrays.
  • Learn how to load the jQuery framework and work with the DOM.
  • Learn how to properly manipulate CSS properties and classes for DOM elements.
  • Learn jQuery transitions, animations, and bring it all together with some AJAX.
  • This course may incite desires to buzz the tower. Just be careful Ghostrider 'cause the pattern is full.

Monday, July 18, 2011

jQuery’s delegate method

Event delegation may be some techie term that you’d rather shy away from, but if you’ve not already used it, this example will show you a simple but powerful use of event delegation.

View Tutorial

The Problem 

We’ve set up our page, we’ve run all our jQuery and we’ve hooked our click handlers. But what happens new new content arrives in the page, say via an Ajax request for instance? Those click handlers don’t work anymore.

We could repeat our code to handle the click each time the Ajax has run, but that feels repetitive doesn’t it? We want our code to by abide by the DRY rule where possible: Don’t Repeat Yourself.

Can’t the container element that holds all the images listen out for clicks instead? Absolutely yes. That’s where event delegation comes in to play.

View Full Tutorial For Free Here


Enjoy :)