Friday, May 29, 2009

[jQuery] Re: tilde (~) selector

On 29 Maj, 16:10, "Mauricio \(Maujor\) Samy Silva"
<css.mau...@gmail.com> wrote:
> It does. It returns b and d as expected!
>
> Try:
> $('p ~ p').css('color', 'red')
> and b and d will be red

I've just noticed that it works in Safari (4 beta), but not in Firefox
(3)... this isn't normal, is it? :|

JS

No comments: