Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 130
  • Last Modified:

Sorting on javascript

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
pinyin3665
Asked:
pinyin3665
  • 2
1 Solution
 
Michel PlungjanIT ExpertCommented:
You do not rewrite the table after sort.

Instead use a framework like sortable.js or a jquery plugin
0
 
Michel PlungjanIT ExpertCommented:
Except the main issue is the DOM is not updated
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now