1.

How do you focus a particular part of the HTML page in JavaScript?(a) hover()(b) focus()(c) on()(d) focuson()This question was addressed to me by my college professor while I was bunking the class.I'd like to ask this question from Validation in division Caching, Debugging and Animation of JavaScript

Answer»

Correct option is (b) FOCUS()

The best I can EXPLAIN: The focus() FUNCTION can be used to focus a particular part of the HTML page in JavaScript. It sets the ELEMENT as the active element in the current document. It can be applied to one html element at a single time in a current document.



Discussion

No Comment Found

Related InterviewSolutions