Get query string parameters url values with jQuery / Javascript (querystring)

Anyone know of a good way to write a jQuery extension to handle query string parameters? I basically want to extend the jQuery magic ($) function so I can do something like this: Which would give me the value “test” in the following URL: http://www.example.com/index.php?search=test. I’ve seen a lot of functions that can do this … Read more

How to add jQuery in JS file

I have some code specific to sorting tables. Since the code is common in most pages I want to make a JS file which will have the code and all the pages using it can reference it from there. Problem is: How do I add jQuery, and table sorter plugin into that .js file? I … Read more

JQuery Number Formatting

I would recommend looking at this article on how to use javascript to handle basic formatting: source: http://www.mredkj.com/javascript/numberFormat.html While jQuery can make your life easier in a million different ways I would say it’s overkill for this. Keep in mind that jQuery can be fairly large and your user’s browser needs to download it when you use it … Read more