Response title
This is preview!




data-doquery-range , and a library called "jJo" could use attributes names like data-jjo-range ." Requiring authors to prefix all data attr's with 'jquery-' is bit much to me, so this doesn't enforce such a thing. // Idea from http://dbaron.org/log/20100424-anyjQuery.expr[':'].any = function(el, i, match) {return jQuery.find.matches(match[3], [el]).length > 0;};jQuery('body :any(div, form) p'); // Same as jQuery('body div p, body form p')jQuery('div:any(.foo,.bar)'); // Same as jQuery('div.foo, div.bar')
© 2013 jQuery Foundation
Sponsored by
and others.
