too many records with AJAX
too many records with AJAX
I query a database, loading the records with AJAX in the table.
Everything's fine, but I got one too many record and that is the one from the template:
[code]
Row 1 Data 1
Row 1 Data 2
etc
Row 1 Data 1
etc
[/code]
This is a part of my table that gets filled with AJAX but this entry is still in the table after AJAX call....
What can I do to avoid this?
Everything's fine, but I got one too many record and that is the one from the template:
[code]
Row 1 Data 1
Row 1 Data 2
etc
Row 1 Data 1
etc
[/code]
This is a part of my table that gets filled with AJAX but this entry is still in the table after AJAX call....
What can I do to avoid this?
This discussion has been closed.
Replies
Did you get this sorted then? Good kind of question - I like these ones ;-)
Allan
Funny I did not even realize this until you asked... ;-)
Any solution?
It sounds like you need a custom sorting plug-in to have it sort the data that you want. There are some available for date sorting, stripping html (with text or numbers) - have a peak: http://datatables.net/plug-ins#sorting
Allan