Jquery clickable block

Posted by Clint on Stack Overflow See other posts from Stack Overflow or by Clint
Published on 2010-04-02T09:59:14Z Indexed on 2010/04/02 10:03 UTC
Read the original article Hit count: 287

Filed under:

HI,

I have this code for extracting the href and adding it to a parent block...

$(".new-dev").hover(function(){
    $(this).css('cursor','pointer');
    $('this').$('a').css('color','#696969');
},function(){
    $('this').$('a').css('color','#000');
});

What I want to do is make the a within the block change color on rollover. Unsure of how to do this when using $(this).

Any advice welcome.

Thanks, C

© Stack Overflow or respective owner

Related posts about jQuery