Html miscellaneous


  1. Which of the following is not a method of AJAX?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: A

    AJAX is basically used for exchanging data with server. There are several methods in jQuery for AJAX. Ajax(), ajaxSetup(), ajaxPrefilter(), ajaxTransport(), getJSON(), post(), ajaxSend(), ajaxError(), load(), serializeArray(), serialize(), ajaxStop(), ajaxStart() are some of the methods.


  1. AJAX is not used in _____________











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: A

    AJAX stands for Asynchronous JavaScript and XML. AJAX loads data in the background and then displays it on the webpage. The application of AJAX is on Gmail, Youtube, Facebook and Google Maps tabs. Several methods for AJAX functionality is provided by jQuery.



  1. Which method is not used for filtering in jQuery?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    The basic filtering methods are eq(), not(), filter(), last() and first(). The first element is returned by first() method, last element is returned by last() method, the specific index number of element is returned by eq() method.


  1. Which method is not for traversing DOM tree sideways?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    There are methods for traversing DOM tree sideways. Some of them are next(), prev(), prevAll(), nextAll(), siblings(), prevUntil(), next(). All the sibling elements are returned by siblings() method. The next sibling is returned by next() method. All the next siblings are returned by nextAll() method.



  1. Which method is not used for traversing DOM tree?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: A

    There are three methods for the traversal of DOM tree. Parent(), parentsUntil(), parents(). Direct parent element is returned by parent() method. All the ancestor elements are returned by parents() method. All the ancestor elements that are between given two arguments are returned by parentsUntil() method.