jQuery - Extend tablesorter plugin
This js code extends the tablesorter plugin in jQuery:
- Parser for sorting values like "$1,300.50"
- Parser for sorting values like "2 months ago","3 years ago" (actual timestamp hide in the comment)
- Parser for sorting values like "SMALLER","SMALL" (actual text value hide in comment)
- Widget to highlight a row when mouse hovers it
- Widget to highlight a header when mouse hovers it
- Widget to save/memorize sort order via AJAX
Labels: javascript, jquery
1 Comments:
This looks great but what i am really interested in is this part of the code only look for value in the comment.
I want to look for a specific HTML comment in the code and add some html to it like a button.
Example:
Look for "Exact HTML Comment"
Add or replace the comment with div some HTML div then comment.
Is this possible?
Thanks for the help and sorry for the weird question but your code is the only code that has any thing related to looking for comments and replacing them in the html. :)
Post a Comment
Home