Updated Webforms Custom Selector for jQuery 1.3
In case you hadn’t heard, jQuery 1.3 was released yesterday. I haven’t had a chance to test out the custom selector I wrote for Webforms (I’m working almost exclusively with ASP.NET MVC right now), but Tim Banks left a comment to let me know it wasn’t working with 1.3. Tim took the time to fix the code, so here it is. Thanks Tim!
jQuery.expr[":"].asp = function(a, i, m) {
return jQuery(a).attr('id').endsWith(m[3]);
};
UPDATE: Brian Grinstead has posted an additional update to fix an incompatibility with IE.




