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

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

  1. mouseLeave()
  2. mouseleave()
  3. mouse-leave()
  4. mouseexit()

Answer: B) mouseleave()

Explanation:

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

Comments and Discussions!

Load comments ↻






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