I would like to use the tablesorter plugin in the same way as the jQuerify bookmarklet.
How should I go about doing this myself, or is it available somewhere?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Place this at the start of your bookmarklet code:
This basically includes the jQuery library.
Edit: Also, if this is just for personal use, you may want to keep a local copy of jQuery on your computer and point the destination of the script there. It’s not really considerate to be using another server’s resources without permission.
Edit2: Sorry, I misread your question. Here’s modified code:
I broke it up into different lines so it’s easier to read. Here’s a condensed version: