Which method is used to attach an event handler function to an HTML element when the mouse pointer enters the HTML element?

30. Which method is used to attach an event handler function to an HTML element when the mouse pointer enters the HTML element?

  1. mouseover()
  2. mousevisit()
  3. mouse-enter()
  4. mouseenter()

Answer: D) mouseenter()

Explanation:

The jQuery method mouseenter() is used to attach an event handler function to an HTML element when the mouse pointer enters the HTML element.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.