1.

Which of the following is the Navigator object method?(a) javaEnabled()(b) moveBy()(c) scroll()(d) stop()I had been asked this question at a job interview.Question is from Essential JavaScript and jQuery in section HTML Tables, Javascript & Jquery Basics of HTML

Answer»

Right OPTION is (a) javaEnabled()

To ELABORATE: There are TWO navigator object methods namely taintEnabled() and javaEnabled(). taintEnabled() the ability of the browser of data TAINTING. This METHOD can’t be used in JavaScript 1.2 version. javaEnabled() method specifies whether Java is enabled in the browser or not.



Discussion

No Comment Found

Related InterviewSolutions