Return to Snippet

Revision: 37602
at December 13, 2010 21:19 by digitalclubb


Initial Code
(function($) { $.fn.extend({ _is: $.fn.is, is: function(s) { return this._is(s || '*');} }); })(jQuery)

Initial URL

                                

Initial Description
This extends jQuery.is() so now you can use if ($(element).is())

Initial Title
Extend jQuery is() function

Initial Tags
jquery, function

Initial Language
jQuery