Friday, April 30, 2010

Javascript delegate and extending jQuery with a delegate method

Delegate function:

If you are using jQuery, you can extend a method to the jQuery object to use throughout your application. Below I create a jQuery delegate extension method plugin:

An example of somewhere you would use the delegate method:


No comments:

Post a Comment