SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Nov 2006
    Posts
    29
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Sorting Table Data rec'd from DB

    Hi Folks,

    I mainly do LAMP programming, and as such don't have much experience with JavaScript.

    I'm looking for a simple function that will allow the user to reorder search data gotten from a database and displayed in a table.

    Meaning, the user clicks on one of the column headers, and js automatically resorts the results. I've seen some stuff online, but none of it seems to really work.

    Can anyone point me to something in the right direction?

    Cheers!

    Ari

  2. #2
    SitePoint Wizard stereofrog's Avatar
    Join Date
    Apr 2004
    Location
    germany
    Posts
    4,324
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    google for "sort table javascript". There are tons of them.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •