Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js hover event

// You can use jQuery

$("p").hover(function(){
  $(this).css("background-color", "yellow");
  }, function(){
  $(this).css("background-color", "pink");
});
 
PREVIOUS NEXT
Tagged: #js #hover #event
ADD COMMENT
Topic
Name
9+8 =