Mink Machine

Entries with tag dom

Client-side table sorting using DOM scripting

There are many ways to sort a table containing tabular data. A common approach is to perform the sort on the server using ASP or something similar, maybe out of routine using the same thought pattern as in ordinary desktop applications. An alternative for web pages is to do it with client-side scripting. The big advantage is of course that all activity takes place on the client side, thus avoiding any unneccessary chatting with the server.

Continue reading...