Cheers all.
By the way Stephan, I'm gonna steal your sig!
By(e)
Adrian :OD
On Feb 6, 9:16 am, Stephan Veigl wrote:
> Hi,
>
> according to another thread in this group
> (http://groups.google.at/group/jquery-en/browse_thread/thread/2115a6c8...)
> there is already a ticket for this bug:http://de
Hi,
according to another thread in this group
(http://groups.google.at/group/jquery-en/browse_thread/thread/2115a6c8c2069cd8)
there is already a ticket for this bug:
http://dev.jquery.com/ticket/3990
and it's already fixed in the trunk
by(e)
Stephan
2009/2/6 jQuery Lover :
>
> Most likely... y
Most likely... you should submit a ticket: http://dev.jquery.com/
Read jQuery HowTo Resource - http://jquery-howto.blogspot.com
On Wed, Feb 4, 2009 at 9:24 PM, Stephan Veigl wrote:
>
> Good point.
>
> I've just tested "input[value='']" and got an error in jQuery.js. Just
> tested it wi
Good point.
I've just tested "input[value='']" and got an error in jQuery.js. Just
tested it with other HTML attributes and got the same results.
Empty attributes are not selected with a "element[attr]" and doing a
"element[attr='']" results in an error.
Is this a bug?
by(e)
Stephan
2009/2/4
Nice one! Should have spotted :has()...
I've asked this in another thread but I'll slip it in here too, does
the selector...
input[value='']
... work for any of you?
Adrian
On Feb 4, 12:11 pm, Stephan Veigl wrote:
> Hi,
>
> just a little remark: add a child selector '>' before the 'input' or
Hi,
just a little remark: add a child selector '>' before the 'input' or
you will select surrounding divs as well.
$("div:has(>input[value='2'])")
by(e)
Stephan
2009/2/4 Mauricio (Maujor) Samy Silva :
>
> $('div:has(input[value=2])')
>
> Maurício
>
> -Mensagem Original- De: "Adrian Ly
Adrian, I recommend using .parent() for better performance...
Read jQuery HowTo Resource - http://jquery-howto.blogspot.com
On Wed, Feb 4, 2009 at 4:22 PM, Adrian Lynch wrote:
>
> Hello all. I have the following...
>
>
>
>
>
>
>
>
>
>
>
> ... and I want to
$('div:has(input[value=2])')
Maurício
-Mensagem Original-
De: "Adrian Lynch"
Para: "jQuery (English)"
Enviada em: quarta-feira, 4 de fevereiro de 2009 09:22
Assunto: [jQuery] Select element based on a value of its child element
Hello all. I have the following...
... a
8 matches
Mail list logo