Yeah, its all div and within a particular parent!! I'm alreading having that kind of care, adding specificity for all my selectors.

It should improve performance, I bet :)

Thanks Joel


Joel Birch escreveu:
On 31/01/2008, Feijó <[EMAIL PROTECTED]> wrote:

Its possible to simple use like this?
    $('.qualif[level>3]').remove();

I don't think there is a way to do that unfortunately.

Pete had a good point about optimising your selector for speed though.
For example, if you know all the .qualif elements are divs and are all
within a particular parent that has an id, say 'content', then you
should write the selector with greater specificity like so:

$('#content div.qualif').filter( ...

Joel Birch.

Reply via email to