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

Popular posts from this blog

ios - UICollectionView Self Sizing Cells with Auto Layout -

node.js - ldapjs - write after end error -

DOM Manipulation in Wordpress (and elsewhere) using php -