Adding Rows
Learn how to dynamically add new rows using JavaScript so that no page refreshes are needed.
We'll cover the following
Re-use fragments
Ideally, we want to reuse the fragment we’ve already used for generating the page. This will ensure that the layout and functionality of the rows that are generated at page render are exactly the same as the rows we add dynamically. To make it possible to reuse the fragment, we have to alter it slightly:
Get hands-on with 1200+ tech skills courses.