Home / CSE MCQs / J Query MCQs ::

CSE MCQs :: J Query MCQs

  1. Which of the following is a single global function defined in the jQuery library?
  2. A.
    jQuery()
    B.
    $()
    C.
    Queryanalysis()
    D.
    None of the mentioned

  3. Which jQuery method is used to hide selected elements?
  4. A.
    hidden()
    B.
    hide()
    C.
    visible(false)
    D.
    display(none)

  5. $.foo() is equivalent to
  6. A.
    javascript.foo()
    B.
    document.foo()
    C.
    jQuery.foo()
    D.
    None of the above

  7. Which built-in method returns the character at the specified index?
  8. A.
    characterAt()
    B.
    getCharAt()
    C.
    charAt()
    D.
    None of the above

  9. Using ________ function, we can hold or release the execution of jQuery's ready event.
  10. A.
    jQuery.holdReady()
    B.
    jQuery.ready()
    C.
    jQuery.hold()
    D.
    jQuery.holdready()

  11. The ¦¦¦. method is like offset(), except that it is a getter only and it returns element positions relative to their offset parent, rather to the document as a whole.
  12. A.
    width()
    B.
    position()
    C.
    offsetparent()
    D.
    setparent()

  13. What does the min mean?
  14. A.
    Minimised version
    B.
    Miniature
    C.
    Minimised parameters
    D.
    Minimum value

  15. Which of the following is used for parsing JSON text?
  16. A.
    jQuery.each()
    B.
    jQuery.parseJSON()
    C.
    jQuery.noConflict()
    D.
    None of the mentioned

  17. Which of the following jQuery method checks the current selection against an expression?
  18. A.
    getIs( selector )
    B.
    is( selector )
    C.
    checkIs( selector )
    D.
    None of the above

  19. To deal with cookies in jQuery we have to use ______ cookie plugin
  20. A.
    Dough
    B.
    Session
    C.
    Dazzler
    D.
    None of these