I have a project in html and i need help?

  • Thread starter Thread starter Resistance2baby
  • Start date Start date
Well, the way that I've done it in the past, is:
- display a table of the data.
- the title in the column of the data you want to sort on has an HTML anchor tag (i.e. <a>). When you click on it, it calls a javascript functions which sorts the table appropriately (either by using AJAX, or simply sorting an array in memory (if that's where the table information is stored).
- finally I redisplay the data table.
 
Back
Top