[jQuery] selecting multiple ids at once
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<META content="MSHTML 6.00.6000.16414" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN
class=421162911-24042007>hello!</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=421162911-24042007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=421162911-24042007>Hopefully a simple
question, for which i did not find the answer in the doc:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=421162911-24042007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=421162911-24042007>i have defined a
series of behaviours to happen when a specific element is clicked on. Now, i'm
feeding through ajax a small menu which a anchors should also have this
behaviour.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=421162911-24042007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=421162911-24042007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=421162911-24042007>so i wold like to
know if i can have multiple selectors in one jquery()
instance:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=421162911-24042007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=421162911-24042007>This is my code, if
you need to see it for better understanding: </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=421162911-24042007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=421162911-24042007>$(".detailsSubnav
a").click(function(){<BR> $(".detailsSubnav
a").removeClass("selected");</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=421162911-24042007>
$(this).addClass("selected");<BR> myUrl =
$(this).attr("href")+"&js=1";<BR> $this =
$("div#leftCol");<BR></SPAN></FONT><FONT face=Arial size=2><SPAN
class=421162911-24042007>
$this.load(myUrl,'',function(){<BR>
$this.fadeIn("slow").Pulsate(50,1);<BR> });<BR>
return false;<BR> });</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=421162911-24042007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=421162911-24042007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=421162911-24042007>Thanks a lot in
advance for your tips !</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=421162911-24042007></SPAN></FONT> </DIV>
<DIV> </DIV>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 7.5pt; COLOR: black; FONT-FAMILY: Verdana">Alexandre
Plennevaux - <SPAN class=SpellE><SPAN class=GramE>LAb</SPAN></SPAN><SPAN
class=GramE>[</SPAN>au] <SPAN class=SpellE>asbl.vzw</SPAN></SPAN><SPAN
style="FONT-SIZE: 7.5pt; COLOR: gray; FONT-FAMILY: Verdana"> / </SPAN><SPAN
class=SpellE style1="style1"><SPAN
style="FONT-SIZE: 7.5pt; FONT-FAMILY: Verdana">MediaRuimte</SPAN></SPAN><BR><SPAN
class=SpellE><SPAN
style="FONT-SIZE: 7.5pt; COLOR: gray; FONT-FAMILY: Verdana">Lakensestraat</SPAN></SPAN><SPAN
style="FONT-SIZE: 7.5pt; COLOR: gray; FONT-FAMILY: Verdana">/Rue de Laeken
104<BR></SPAN><SPAN
style="FONT-SIZE: 7.5pt; COLOR: gray; FONT-FAMILY: Verdana">B-1000
Brussel-Bruxelles-Brussels<BR></SPAN><SPAN class=SpellE><SPAN
style="FONT-SIZE: 7.5pt; COLOR: gray; FONT-FAMILY: Verdana">Belgie</SPAN></SPAN><SPAN
style="FONT-SIZE: 7.5pt; COLOR: gray; FONT-FAMILY: Verdana">-Belgique-<SPAN
class=SpellE>Belgium</SPAN></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 7.5pt; COLOR: gray; FONT-FAMILY: Verdana">Tel:+32(0)2.219.65.55<BR>Fax:+32(0)2.426.69.86<BR>Mobile:+32(0)476.23.21.42<BR><A
title=http://www.lab-au.com/
href="blocked::http://www.lab-au.com/">http://www.lab-au.com<BR></A><A
title=http://www.mediaruimte.be/
href="blocked::http://www.mediaruimte.be/">http://www.mediaruimte.be</A></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 7.5pt; COLOR: gray; FONT-FAMILY: Verdana"><A
title=http://www.mediaruimte.be/
href="blocked::http://www.mediaruimte.be/"></A></SPAN><SPAN lang=EN-GB
style="FONT-SIZE: 7.5pt; COLOR: gray; FONT-FAMILY: Verdana"
xml:lang="EN-GB">__________________________________________________________________________</SPAN></P>
<P class=MsoNormal><SPAN lang=EN-GB
style="FONT-SIZE: 7.5pt; COLOR: gray; FONT-FAMILY: Verdana" xml:lang="EN-GB">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.<BR>Because e-mail can be electronically
altered, the integrity of this communication cannot be guaranteed.</SPAN></P>
<P class=MsoNormal><SPAN lang=EN-GB
style="FONT-SIZE: 7.5pt; COLOR: gray; FONT-FAMILY: Verdana"
xml:lang="EN-GB">__________________________________________________________________________</SPAN></P>
<DIV> </DIV></BODY></HTML>
<BR>
<P><FONT SIZE=2>Ce message Envoi est certifié sans virus connu.<BR>
Analyse effectuée par AVG.<BR>
Version: 7.5.465 / Base de données virus: 269.5.10/774 - Date: 23/04/2007 17:26<BR>
</FONT> </P>