When displaying data coming from a database, you often don't know how many data records there will be. Our web page and the HTML table in it have to adapt dynamically. The following recipe describes how to do this.
Look at the
html_table application. The web page contains two
<table id="data"></table> <table id="jobdata"></table>
On running the app, you will be redirected to the following web page, which displays data in an HTML table:
The data is shown by the code in the