Some time ago, I have written a small jQuery plugin to easily get GET-Variables. The plugin is used by a lot of people. But it doesn’t satisfy all possibilities, you need.
Today, I have rewritten the plugin. It is now able to:
- Parse GET parameters of the document
With this plugin, it is very easy to get the value of param ajaxUrl.
Have fun! Here is the source.
The plugin is now able to handle href attributes, too. It checks now
- if you want a document parameter
- or there is a src attribute
- or there is a href attribute
- else it returns null
The library can now be found at github