I don't think jQuery supports that directly. I'd approach this by adding a class to the <a> element and then defining css stylesheet to set the colors.
$("a").addClass("myclass"); CSS .myclass {color:#cccccc;} .myclass:hover {color:#cccccc;} etc. Paul On Nov 20, 2:27 pm, c0d3m0n3k3y <[EMAIL PROTECTED]> wrote: > Hi, > > I'm relatively new to jquery. I'd like to know if I can accomplish > setting the color for visited/hover/active state of an anchor using > something like > > $("a:link").css({color:"#cccccc"}) > $("a:visited").css({color:"#cccccc"}) > $("a:hover").css({color:"#cccccc"}) > $("a:active").css({color:"#cccccc"}) > > Thanks > CM