jQuery jget Plugin

Whats for?

This plugin give a simple way to access the query string like a server side language

Example

//url http://www.example.com/foo.php?var1=test1&var2=test2
var out1 = $.get['var1'];
// out1 = test1
var out2 = $.get['var2'];
// out2 = test2

Test?

You can type a query string appended in the url to see the plugin in action. In firefox with firebug you can see the result in console or a alert in internet explorer or a log in safari.

To do

Make a method to return the queryString in object notation