Js sample code for dynamically setting mouse events



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