DataTable Filter and Sorting won't work after loop

DataTable Filter and Sorting won't work after loop

tmotmo Posts: 1Questions: 0Answers: 0
edited July 2012 in General
Hi there,

I iterate over a list of URLs. For each URL a HTTP GET request is sent to a server. Afterwards I create a table for the results.
This means I have n URLs with n requests and n result tables.

After the creation of each table I call $('#idOfTheTable').dataTable();

Now, it seems that the quick filter and sort functions won't work on all the tables when I do this. only the last table I created will still have those features. Can you tell me why that is and how I can work around this?

Thanks
tmo
This discussion has been closed.