Web Analytics Made Easy -
StatCounter Sorting tables using javascript or AJAX - CodingForum

Announcement

Collapse
No announcement yet.

Sorting tables using javascript or AJAX

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Sorting tables using javascript or AJAX

    hi,
    i have a PHP page where in i am populating data from mysql. i want to facilitate the user for sorting the data by clicking on the column heads.i want to do it without submitting the page. can i do it using javascript or ajax? can i get some help or link on it

    Thanks and God Bless
    Bhakti Thakkar

  • #2
    Search the forums first.

    There's a topic about this in the post a javascript forum...

    Here's a link. table sorting

    If this doesn't work for you, post here again and I'll pull out one of my own scripts.

    Comment


    • #3
      Please help

      hi,
      First let me thank you for ur help. i did try what was given, but some how i am failing to do so. i have different template files for loading the page and i pass the columns which have to be sorted. i am stuck badly as i had done using PHP but the page get submits which i am avoiding now.
      Thanks in anticipation

      Bhakti Thakkar

      Comment

      Working...
      X