hello, i'm trying to test a condition whether a link has a given class, and have it return "true" or "false". if ($(this).attr("class")=='refresh') { alert("changing page"); return true; } else { return false; } but it does not work, any idea how to do that best ? thank you !! alex
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.6.1/777 - Date: 26/04/2007 15:23