1.

hover() method is the combination of ____________(a) mouseleave() and mouseeneter()(b) mousedown() and mouseenter()(c) mouseup() and mousedown()(d) mouseleave() and mousedown()I got this question in final exam.Question is taken from Essential JavaScript and jQuery in section HTML Tables, Javascript & Jquery Basics of HTML

Answer» CORRECT OPTION is (a) mouseleave() and mouseeneter()

To explain I WOULD say: hover() method is the COMBINATION of mouseleave() and mouseenter(). It takes two functions. When the mouse LEAVES HTML element then mouseleave() function is called and when mouse enters HTML element then mouseenter() function is called.


Discussion

No Comment Found

Related InterviewSolutions