html - I'm trying to change my link color in jQuery. Why is it not working -


here have far:

$('a').hover(function(){         ('this').css('color','#f60')         });     }); 

my intention have users hover on link have color change white orange

$('a').hover(function(){         $(this).css('color','#f60')         });     }); 

reference: http://remysharp.com/2007/04/12/jquerys-this-demystified/


Comments

Popular posts from this blog

ios - UICollectionView Self Sizing Cells with Auto Layout -

node.js - ldapjs - write after end error -

DOM Manipulation in Wordpress (and elsewhere) using php -