$(selector).mousemove(function)
In our demo we will use mouseout event along with mouseover event to display or change the messages.
<script>
$(document).ready(function() {
$('#d1').mousemove(function(){
$("#t1").html('You have moved the mouse inside box');
});
$('#d1').mouseout(function(){
$("#t1").html('You have moved Out ');
});
})
</script>
Event ReferenceDEMO of Mousemove
Most Popular JQuery Scripts | |
1 | Two dependant list boxes |
2 | Calendar with Date Selection |
3 | Data change by Slider |
4 | Show & Hide element |