/ Published in: jQuery
Great way to check if a node exists before running a piece of code.
Expand |
Embed | Plain Text
(function($) { $.fn.extend({ exists: function() {return this.length>0;} }); })(jQuery)
You need to login to post a comment.
