Aya, I am using check="noop" right now just so that I can continue
coding other stuff, but it bugs me to no end cause it's so unclean...:)
Tried your rel="" trick but had no success, still only finding input
"three"
Glen Lipka wrote:
Isn't it invalid Xhtml, not invalid html?
There has been a whole slew of expandos posts that say its
basically fine for most primitive uses.
However, check is a particularly wierd one because "checked" is
a valid one and this makes it confusing.
So you might need to put a value in your "check" expando. Like
check="blank". (Get it, -blank check-)
If needed you could always filter those out.
What is the case if you put like <input rel="" /> And
search for rel. In this case, it is perfectly valid XHTML.
If it doesn't find it there, maybe it's a bug. Because it
should.
Gle
On 3/19/07, Erik Beeson <[EMAIL PROTECTED]>
wrote:
I
recommend avoiding invalid HTML.
--Erik
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/
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
|
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/