In developing, and using, web applications you normally come across a table of data that you'd like to sort by clicking on the heading of each column. While this can be done using some type of server side technology (PHP, ColdFusion, ASP) why ask for the data you already have just to re-sort it? That's the question, and the solution, that's provided at
Kryogenix.org
It's a JavaScript function that uses the Document Object Model (DOM) of a web page to sort the data you already have without re-submitting the page and waiting for everything to generate yet again. It's very simple to implement, take a look.
No comments:
Post a Comment