1. Question: Which of the following selector selects all elements matched by <a> that have an href value containing domain.com?

    A
    a[@href*=domain.com]

    B
    a[@href=domain.com]

    C
    a[@href:domain.com]

    D
    a[@href=*domain.com]

    Note: Not available
    1. Report
  2. Question: Which of the following selector selects all checked boxes in the form?

    A
    $("checked")

    B
    $(":checked")

    C
    $("input[checked]")

    D
    $("input[checked=checked]")

    Note: Not available
    1. Report
  3. Question: Which of the following selector is used to select only form elements?

    A
    $(":input")

    B
    $("input[type=*]")

    C
    $(":input[type*=]")

    D
    $(":input[type]")

    Note: Not available
    1. Report
  4. Question: Which of the following selector is used to select all elements that have no children?

    A
    $(":empty*")

    B
    $(":empty")

    C
    $("empty")

    D
    $(":empty?")

    Note: Not available
    1. Report
  5. Question: Which of the following syntax is correct for fetching the value of an attribute from an element?

    A
    var x=$(selector).attribute(attribute);

    B
    var x=$(selector).getAttr(attribute);

    C
    var x=$(selector).attr(attribute);

    D
    var x=$(selector).attrib(attribute);

    Note: Not available
    1. Report
  6. Question: Which of the following syntax is correct for setting attribute value to an element?

    A
    $(selector).attr(element,value);

    B
    $(selector).attr(attribute,value);

    C
    $(selector).attribute(element,value);

    D
    $(selector).attr(value);

    Note: Not available
    1. Report
  7. Question: Which of the following JQuery function is used to search for descendent elements that match the specified selectors.

    A
    find(selector)

    B
    next(selector)

    C
    search(selector)

    D
    closest(selector)

    Note: Not available
    1. Report
  8. Question: Which of the following JQuery function is used to select nearest parent element that matches the specified selector?

    A
    parent(selector)

    B
    closest(selector)

    C
    next(selector)

    D
    find(selector)

    Note: Not available
    1. Report
  9. Question: Which of the following JQuery function is used to set the plain text contents of all matched elements?

    A
    $(selector).add(val)

    B
    $(selector).text(val)

    C
    $(selector).html(val)

    D
    $(selector).wrap(val)

    Note: Not available
    1. Report
  10. Question: Which of the following JQuery function is used to get the top and left position of an element relative to its offset parent?

    A
    position()

    B
    offset()

    C
    pos()

    D
    getPosition()

    Note: Not available
    1. Report
Copyright © 2024. Powered by Intellect Software Ltd