I have one javascript function. Which i want to call on hover of li
var Divhtml='<div>hover</div>';
$('li a').hover(function(){
$(this).html(Divhtml);
//here i want to fire hovercall(); which will work on "Divhtml" i.e. innerHtml,this contains visual effects,depending on Class
});
function hovercall()
{
}
please guide
1 Answer