you need to execute a javascript function when if first moves the mouse over the element <div id=”div1”></div>

mouseenter jQuery
In a page there is a div (I guess it was a div) andyou need to execute a javascript function when if first moves
the mouse over the element
<div id=”div1”></div>

mouseenter jQuery
In a page there is a div (I guess it was a div) andyou need to execute a javascript function when if first moves
the mouse over the element
<div id=”div1”></div>

A.
$(“#div1”).mouseenter(displayname);

B.
$(“.div1”).mouseenter(displayname);

C.
$(“#div1”).mousemove(displayname);

D.
$(“.div1”).mousemove(displayname);

Explanation:
$(‘#outer’).mouseenter(function() {$(‘#log’).append(‘<div>Handler for .mouseenter() called.</div>’);} );
http://api.jquery.com/mouseenter/



Leave a Reply 0

Your email address will not be published. Required fields are marked *