Stupid-Table-Plugin
Stupid-Table-Plugin copied to clipboard
added support for multiple tbody tags
I needed to sort a table with multiple tbody tags, so I've modified the sorting method to handle this. Also, I needed to exclude a row from the sort, so I've added a filter to exclude tr's with the data attribute "data-sort-ignore".
(y) Need this too
I wanted to verify if multiple tbody tags is valid HTML, and it is:
http://www.w3.org/TR/html-markup/table.html#table
Permitted contents
An optional caption element, followed by zero or more colgroup elements, followed by an optional thead element, followed by ... zero or more tbody elements or one or more tr elements ...
I'll look into implementing these changes soon, thank you.
+1