I get the same result here, but Yanksy solved my problem for me.
But thank you all for your response and time :)

Jörn Zaefferer wrote:
Magnús Örn Gylfason schrieb:
  
Ok, but according to the jquery documentation "[EMAIL PROTECTED]" is a valid 
selector, as in:

$("//[EMAIL PROTECTED]")

to find all input elements that are checked.

I tried that specific approach

$("//[EMAIL PROTECTED]")

and it still only finds "three".
    
The problem here may be that checked is a special attribute that 
defaults to true when specified without an actual value. Try this and 
check the results:

<input check checked />
$("input")[0].check
$("input")[0].checked
$("input")[0].getAttribute("check")
$("input")[0].getAttribute("checked")

My results:
undefined
true
""
""

  

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to