Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jquery hover

//color will change to yellow on hover 
//after hover it will come to white
$("span").hover(function(){
        $(this).css("background-color", "yellow");
        }, function(){
        $(this).css("background-color", "white");
      });
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #jquery #hover
ADD COMMENT
Topic
Name
7+4 =