jQuery to target CSS a:hover class
- by songdogtech
Confused here. What's the best way to change the hover CSS of the link below, and how? toggle.Class? add.Class? I want to show an image on hover. I have been able to change the color of the text with
$("#menu-item-1099 a:contains('rss')").css("color", "#5d5d5d");
but can't seem to target the hover class.
<div id="access">
<div class="menu-header">
<ul id="menu-main-menu" class="menu">
<li id="menu-item-1099" class="menu-item menu-item-type-custom menu-item-1099">
<a href="http://mydomain.com/feed/">rss</a></li>