Haven't actually tried these out but they might be worth a try.

$("a,button").not ('.external, .thickbox, #shortcuts a')

or

$("a,button").not('.external').not ('.thickbox').not (#shortcuts a')

On May 25, 11:59 am, "Alexandre Plennevaux" <[EMAIL PROTECTED]>
wrote:
> hello friends!
>
> a quick question:  i would like to exclude a few elements wich have specific 
> classes from my selection. I just don't find the right syntax:
>
> i tried that:
>
> $("a,button").not($('.external','.thickbox','#shortcuts a')).click(function(){
>   showLoadingUI();
>
> });
>
> but it does not function, even A elemnets with the specified classes trigger 
> the behaviour. Can you tell me how to code this properly?
>
> maybe i should chain the not() instead?
>
> thanks a lot!
>
> Alexandre Plennevaux - LAb[au] asbl.vzw / MediaRuimte
> Lakensestraat/Rue de Laeken 104
> B-1000 Brussel-Bruxelles-Brussels
> Belgie-Belgique-Belgium
>
> Tel:+32(0)2.219.65.55
> Fax:+32(0)2.426.69.86
> Mobile:+32(0)476.23.21.42
> HYPERLINK "blocked::http://www.lab-au.com/"http://www.lab-au.com
> HYPERLINK "blocked::http://www.mediaruimte.be/"http://www.mediaruimte.be
>
> HYPERLINK 
> "blocked::http://www.mediaruimte.be/"__________________________________________________________________________
>
> The information in this e-mail is intended only for the addressee named 
> above.  If you are not that addressee, please note that any disclosure, 
> distribution or copying of this e-mail is prohibited.
> Because e-mail can be electronically altered, the integrity of this 
> communication cannot be guaranteed.
>
> __________________________________________________________________________
>
> Ce message Envoi est certifié sans virus connu.
> Analyse effectuée par AVG.
> Version: 7.5.467 / Base de données virus: 269.8.0/817 - Date: 24/05/2007 16:01

Reply via email to