javascript - Sort column in a table alphabetically within a ul -
i trying sort column alphabetically. column may have additional list below it, however, factor trying sort in "main-name" class. issue comes targeting specific element, sorting entire tr.
thank in advance help!
example of problem: http://jsfiddle.net/kg2nu/1/
<ul class="name-wrap"> <li class="main-name">michael johnson</li> <ul class="aka-list"> <li>mike</li> </ul> </ul>
there plenty of table sorting libraries out there. have seen example of table contains. might able 1 working you: http://www.javascripttoolbox.com/lib/table/examples.php
Comments
Post a Comment