Solved

Sorting on javascript

Posted on 2013-05-18
5
100 Views
Last Modified: 2014-10-27
Hello,

Please open the following page.  My intention is that when clicking
the head of a column, sorting will  happen.   But nothing has happened
so far.

http://www.pinyinology.com/css/officials2b.html 

I wrote some js code, but it obviously didn't work.  Please help
modify the code.  Thanks a lot.
pinyin 3665
0
Comment
Question by:pinyin3665
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 Comments
 
LVL 75

Accepted Solution

by:
Michel Plungjan earned 500 total points
ID: 39178120
You do not rewrite the table after sort.

Instead use a framework like sortable.js or a jquery plugin
0
 
LVL 15

Expert Comment

by:Jagadishwor Dulal
ID: 39178690
0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 39178771
Except the main issue is the DOM is not updated
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
A quick Powershell script I wrote to find old program installations and check versions of a specific file across the network.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question