/ Published in: jQuery

This extends jQuery.is() so now you can use if ($(element).is())
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
(function($) { $.fn.extend({ _is: $.fn.is, is: function(s) { return this._is(s || '*');} }); })(jQuery)
Comments
