How many does it find if you have *check=""* on #2.
Maybe it needs that to find it.

Glen


On 3/19/07, Magnús Örn Gylfason <[EMAIL PROTECTED]> wrote:

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

$( "[EMAIL PROTECTED]", 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/

_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to