Revision: 18471
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at September 30, 2009 13:11 by arpit
Initial Code
$.extend($.expr[':'], { over100pixels: function(a) { return $(a).height() > 100; } }); $('.box:over100pixels').click(function() { alert('The element you clicked is over 100 pixels high'); });
Initial URL
http://www.tvidesign.co.uk/blog/improve-your-jquery-25-excellent-tips.aspx#tip15
Initial Description
Initial Title
Create custom jQuery selector
Initial Tags
jquery
Initial Language
JavaScript