Posted By

digitalclubb on 12/13/10


Tagged

is jquery function


Versions (?)

Extend jQuery is() function


 / Published in: jQuery
 

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

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

Report this snippet  

You need to login to post a comment.