[jQuery] [JQuery] Attribute selector
Hi,
I'm having a bit of a problem with the attribute selector in jquery.
Given html like:
<form>
<input name="one" type="text"/>
<input name="two" type="text" check/>
<input name="three" type="text" check="bla"/>
</form>
my javascript
$( "[@check]", form).each( function() { } );
will only find "three", but not "one" (which I do not want to find) or
"two" (which I do want to find).
Am I misunderstanding something here?
cheers,
Magnús Örn Gylfason
btw, using JQuery 1.1.2
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/