jQuery Tutorial


jQuery Example


jQuery References


jQuery mousemove() Event Reference


  jQuery Events References


Uses

jQuery mousemove() Event Occurs when mouse pointer moves.


Bind Function to mousemove() event

Defined function run when the mousemove() event occurs on the selected elements.

Syntax

$(selector).mousemove(function())  

jQuery mousemove events supported following parameters.

ParameterDescription
eventevent is Required parameter. event define specific event binding to the function.

mousemove Event Example

<script type="text/javascript">
$(document).ready(function(){
  $(document).mousemove(function(e){ 
    $("span").text("X:  " + e.pageX + ", Y:  " + e.pageY); 
  });
});
</script>
Online Try This Code Your Self....   »

  jQuery Events References