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

vb.net - Alternative to the T-SQL AS keyword -

php - MySQLi binding parameters in a prepared statement doesn't work unless inserted after "WHERE" -

ios - CFRelease causing crash in iPad application -