mrgstiffler
04-03-2008, 05:38 PM
I have a script that runs onLoad but I want that script to rerun after an XMLHttpRequest updates a DIV. I tried adding a timeout but no dice there.
Basically, I have a piece of Javascript that enables table sorting. When the page loads there's a table that already has some data in it. The sorting script enables you to sort the table when you click on a column. I also have a drop-down box that, when an item is selected, an XMLHttpRequest updates the table on the page. The problem is that when the table gets updated, it is no longer sortable.
Any ideas?
Basically, I have a piece of Javascript that enables table sorting. When the page loads there's a table that already has some data in it. The sorting script enables you to sort the table when you click on a column. I also have a drop-down box that, when an item is selected, an XMLHttpRequest updates the table on the page. The problem is that when the table gets updated, it is no longer sortable.
Any ideas?