1.

What is the purpose of the preference method in a navigator?(a) Set Browser preference(b) Set Netscape preference(c) Both Set Browser & Netscape preference(d) Sets user preferenceThis question was addressed to me in final exam.The query is from Image Map in portion Caching, Debugging and Animation of JavaScript

Answer»

Right choice is (b) Set Netscape preference

Best explanation: The preference(name,value) method allows a signed script to get and set some Netscape PREFERENCES. If the SECOND parameter is OMITTED, this method will RETURN the value of the SPECIFIED preference; otherwise, it sets the value Netscape only.



Discussion

No Comment Found

Related InterviewSolutions