Webboy2008
asked on
javascript, jquery, table
http://www.kryogenix.org/code/browser/sorttable/
I have used above js for my html table. It works fine until I add one extra thead
like the following. After I added 'thead', the sorting feature is no longer available.
any experts can help?
Thanks
<table>
<thead>
<tr><td>....</td></tr>
</thead>
<thead>
<tr><td>....</td></tr>
<thead>
<tbody>
<tr><td>...</td></tr>
</tbody>
</table>
I have used above js for my html table. It works fine until I add one extra thead
like the following. After I added 'thead', the sorting feature is no longer available.
any experts can help?
Thanks
<table>
<thead>
<tr><td>....</td></tr>
</thead>
<thead>
<tr><td>....</td></tr>
<thead>
<tbody>
<tr><td>...</td></tr>
</tbody>
</table>
ASKER
why don't you just download the file and add the codes...yes it is missing the </thead>
you can add it and try and see it works or not.
you can add it and try and see it works or not.
Downloading the script wouldn't mean a thing if your markup is bad.
With your example post, your markup was bad.
Please post your code, otherwise we have nothing to go off of.
With your example post, your markup was bad.
Please post your code, otherwise we have nothing to go off of.
It looks like you should only have one <thead> element.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Open in new window