posted 17 years ago
Hi
I have an app which returns a DOM back as an AJAX response. I loop through the result and populate the results in a table by dynamically inserting rows in the table.
My Issue is the browser becomes unresponsive and waits for the loop to complete and once all the records are inserted, only then it shows all records. Its not a very major hit .. but is there any way i can make the rows visible as and when one iteration of the javascrpt loop is completed. i.e one row in inserted in the table.?
here is the manner in which the rows are inserted. (not actual code just logic)
for all the records
insertRow in the table tbody
insertCell in the rows
end for..
regards,<br />Dharmesh Chheda