Results 1 to 3 of 3

Thread: Sorting of the contents in Table TAG

  1. #1

    Thread Starter
    Member
    Join Date
    Aug 2000
    Location
    Minneapolis
    Posts
    42
    Hi,

    I have a table tag with four columns on the web page.
    It has around 50 rows of data, which iam populating from a ADODB recordset.
    Can i know the code(Javascript or Vb script)so that i can click the columns(which is the top TD tag in the table tag) on the top of the table and the contents of the table tag sort accordingly.

    Thanks in advance
    Srini

  2. #2
    Guest
    easiest way to do this is to put everything in a form, `post you form when the click-event is triggered and then post a new query to your database with an other 'order by' (the post action goes to the same page of course)

    see what I mean?

  3. #3

    Thread Starter
    Member
    Join Date
    Aug 2000
    Location
    Minneapolis
    Posts
    42

    Thanks

    Thanks for the reply
    It helps.
    Srini

Posting Permissions

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



Click Here to Expand Forum to Full Width