as rob said, unless the OP is using the anchor's class itself in conjunction with some other jquery selector at that point, the OP would be better off just using :hover.
jquery is awesome, but using it to do stuff CSS already does better is considerably less awesome. On May 15, 9:22 am, RobG <rg...@iinet.net.au> wrote: > On May 15, 5:22 pm, Karthikraj <karthik271...@gmail.com> wrote: > > > But CSS :hover will not work in IE6. So better use script.... > > Rubbish. The OP wants to use it on an A element, which > supports :hover in probably every browser since Navigator and IE 4, if > not older. > > -- > Rob