Html miscellaneous
- Which of the following is not a method of AJAX?
-
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.
- AJAX is not used in _____________
-
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.
- Which method is not used for filtering in jQuery?
-
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.
- Which method is not for traversing DOM tree sideways?
-
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.
- Which method is not used for traversing DOM tree?
-
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.