Js sample code for dynamically setting mouse events

  • 2020-03-26 21:47:22
  • OfStack

 
obj.onmouseover=function (){ 
$("#vote").html(" Praise the "); 
} 
obj.onmouseout=function (){ 
$("#ssvote").html(" praise (" + vote_num+")"); 
} 

Related articles: