logo

CuriousTab

CuriousTab

Discussion


Home Interview Technology Comments

  • Question
  • What are the different objects used in JavaScripts?


  • Correct Answer
  • JavaScripts uses a hierarchical structure that applies to the objects in a document There are some objects that show the relationship of one object to another using the language Window object: This is the topmost object in the hierarchy It represent the content area of browser window that consists of HTML documents Each frame is also a window that has some actions inside it Document object: This object gets loaded in a window and consists of objects of different kind in the model It consists of the content that will be written in the script Form object: Form objects are used for more interaction with the users It represents the form elements inside
    tag 


  • Technology problems


    Search Results


    • 1. What is Javascript namespacing? How and where is it used?
    • Discuss
    • 2. How JavaScript timers work? What is a drawback of JavaScript timers?
    • Discuss
    • 3. Are javascript and jQuery different?
    • Discuss
    • 4. Does javascript have the concept level scope?
    • Discuss
    • 5. How do you create a new object in JavaScript?
    • Discuss
    • 6. What does window.history object?
    • Discuss
    • 7. Which of the following is added to prefs.js,when open a dialog box each time an error occurs?

    • Options
    • A. user_pref("javascript.classic.error_alerts", true);
    • B. user_pref("javascript.classic.error_alerts ", false);
    • C. user_pref("javascript.console.open_on_error ", false);
    • D. user_pref("javascript.console.open_on_error ", true);
    • Discuss
    • 8. Which of the following navigator object properties is the same in both Netscape and IE?

    • Options
    • A. navigator.appCodeName
    • B. navigator.appName
    • C. navigator.appVersion
    • D. None of the above
    • Discuss
    • 9. What is mean by "this" keyword in javascript?

    • Options
    • A. It refers current object
    • B. It referes previous object
    • C. It is variable which contains value
    • D. None of the above
    • Discuss
    • 10. What does isNaN function do?
    • Discuss


    Comments

    There are no comments.

Enter a new Comment