jQuery extend template

/ Published in: jQuery
Save to your folder(s)

A quick template for extending javascript/jQuery functionality

Copy this code and paste it in your HTML
  1. (function($) {
  2. $.extend($.ui.tabs.prototype, {
  3. _tabify: function(init) {
  4. //Do stuff here
  5. //We extended the _tabify function of jQuery's tabs
  6. }
  7. });
  8. })(jQuery);

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.