View Full Version : How to select anchor class with jQuery?

03-12-2010, 07:32 AM
Hi all

Just curious how I might be able to target an anchor class with jQuery.

For example,

If my anchor class is:

#nav a.activeSlide {

How can I target it for a fadeTo() ?

Not sure of the syntax. Tried variations of:

$('#nav a.activeSlide').fadeTo(1000,.5);

To no avail.

Thanks for your help.