I am working with jquery validation which is when press the submit button show error icon after hover the error icon message will display in tooltip. validation working fine with error icon now I want tool tip
$('#myForm').validate({
rules:{firstname:"required"},
messages:{firstname:"<div class='fir' style='display:none'>Please enter your firstname</div>"
}
});
I am trying to calling hover function it is not working
$('.error').hover(function(){
alert("hello");
});
on()andmouseovertogether mate.. :)