Microsoft
70-515 · Question #185
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="div1"></div>
The correct answer is A. $("#div1").mouseenter(displayname). See the full explanation below for the reasoning.
Question
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=”div1”></div>
Options
- A$("#div1").mouseenter(displayname);
- B$(".div1").mouseenter(displayname);
- C$("#div1").mousemove(displayname);
- D$(".div1").mousemove(displayname);
How the community answered
(22 responses)- A73% (16)
- B18% (4)
- C5% (1)
- D5% (1)
Community Discussion
No community discussion yet for this question.