Enable users to add a row of fields to an HTML input form. In this
code, after the HTML loads, addForm() is called. Clicking the Add Line
button calls a function, addLine(), which calls addField() once for each
field in the new input line. The elements, label and input, are
formatted using CSS.
Generate array of objects
Loop through HTML form lines and store the data into an array of objects
Generate a table containing data from array of objects
Local Name
Local DOB
Local Age
Local Zodiac
Prog6 Questions
JQuery makes it much easier to traverse DOM elements. This process rquires more code in Javascript.
JQuery allows animation with simple tags, whereas Javascript this takes numerous lines of code.
You are able to manipulate multiple elements with JQuery, where as in Javascript it requires a loop.
JQuery has much better support for most desktop browsers than Javascript.
JQuery makes it easier to select elements by use of $.It is much more effiecnt in terms of typing code.