I am having troubles trying to get this function to work. I got the first part to work but trying to get the <p> take a whole nother action upon hover out.
Here is the jquery I am using $("p#makered").hover(function(){ $(this).addClass("red"); }, function() { $("p#makered").fadeOut("slow"); }); The css works fine, but with the added jquery function changing the text from green to red is no longer happening and firebug says I am missing a ' ) ' after "function() {" Tried adding it just to see but that doesnt work. Must be something else entirely. Any help?