Adds two functions into the jQuery namespace. : jQuery « jQuery « JavaScript DHTML






Adds two functions into the jQuery namespace.

  

jQuery.extend({
  min: function(a, b) { return a < b ? a : b; },
  max: function(a, b) { return a > b ? a : b; }
});

   
    
  








Related examples in the same category

1.If jQuery is installed and running
2.Adds two plugin methods.
3.Is jQuery ready
4.Create Text node from query list
5.Show the order in the jQuery object.
6.Pass array returned from jQuery to a function