?
Solved

Sorting on javascript

Posted on 2013-05-18
5
Medium Priority
?
111 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 2000 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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

Shoutout to Emily Plummer (http://www.experts-exchange.com/members/eplummer26.html) for giving me this article! She did most of it, I just finished it up and posted it for her :)    Introduction In a previous article (http://www.experts-exchang…
Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
The viewer will learn how to dynamically set the form action using jQuery.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Suggested Courses

801 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