Abstract

Although HTML pages are static by nature, jQuery can be used to make them dynamic in many ways. Using jQuery you can not only change the content of Document Object Model (DOM) elements but also add, remove, or replace DOM elements on the fly. This makes your web page dynamic in terms of its content and DOM structure. Consider a situation in which you are fetching data residing in SQL Server using the Ajax technique and then want to display this data to the end user in a table. Because you don't know how many rows will be returned by the server, you have to add rows and columns to the table dynamically. The DOM manipulation techniques discussed in this chapter are handy in such situations.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.