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

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

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

A.
$(“#divheader”).mouseenter(somefunction);

B.
$(“#divheader”).mouseenter(somefunction);

C.
$(“.divheader”).mouseenter(somefunction);

D.
$(“.divheader”).mouseenter(somefunction);

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 *