InterviewSolution
Saved Bookmarks
| 1. |
The method not used to add new content is ___________(a) after()(b) prepend()(c) before()(d) add()This question was posed to me in an interview.This interesting question is from Essential JavaScript and jQuery in portion HTML Tables, Javascript & Jquery Basics of HTML |
|
Answer» CORRECT choice is (d) ADD() For explanation I would say: In jQuery there are four methods to add new content namely PREPEND(), before(), after(), append(). The append() method inserts at the END, prepend() method inserts at the beginning of the content, after() method inserts the content after selected HTML ELEMENT, befor() inserts before the selected HTML element. |
|