GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — sortTable/README.md at master · iagopaixao/sortTable

Expand file tree

/

README.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
15 lines (11 loc) · 760 Bytes
/

README.md

Copy path

File metadata and controls

15 lines (11 loc) · 760 Bytes
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

Sort Table

sortTable is a simple JS script to sort data from an HTML table in an Ascending and Descending way. You can use it to sort names, numbers, dates, and currency.

How to use

Add the sortTable.js to the <head> of your HTML file. It's necessary that your project is using jQuery. In its HTML file it makes a call to sortTable.js as follows:

jQuery(document).ready(function() {
    var table = new ScriptOrderTable();
    table.queryTableColumns('#myTable', 'thead td a');
});

See the sortTableExample.html file for an example of how to use the script.

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.