Skip to content
Permalink
Browse files

Added support for [@foo] against DOM object properties (not just attr…

…ibutes).
  • Loading branch information
jeresig committed Jan 7, 2007
1 parent 33662cd commit e1e47cddd64e904606c6d239d1d3e1d647f23df6
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/selector/selector.js
@@ -59,7 +59,7 @@ jQuery.extend({
_resort: function(m){
return ["", m[1], m[3], m[2], m[5]];
},
_prefix: "z=jQuery.attr(a,m[3]);"
_prefix: "z=a[m[3]]||jQuery.attr(a,m[3]);"
},
"[": "jQuery.find(m[2],a).length"
},

0 comments on commit e1e47cd

Please sign in to comment.
You can’t perform that action at this time.