My project requires that I update the contents of a specific column in an HTML table via an AJAX call to a PHP script.
In terms of workload: The table contains about 4 columns and about 20 rows (more rows could be added with time).
What would be more (or most) efficient:
- Replace ONLY the column/specific cells that need to be updated
- Replace the entire table with the updated data
For some context: The table basically contains the name of servers in one column and their respective online status in the adjacent column. The user clicks a button to check the status of all the servers, subsequently jQuery would be called upon to update the Online Status column after the query has completed.