Messy bits

Avatar

extending jqURL with url parameter

One of the best things of the jquery library it's is extensibility. There  are a lot of plugins and extensions for almost every thing you could do with javascript, but even then, there are some times that the functionality it's not like you expect. 

jqURL (http://www.oakcitygraphics.com/jquery/jqURL/jqURLdemo.html?var1=1&var2;=2&var3;=3)  is a jquery extension for managing the url querystring parameters and add remove parameters with javascript, useful when you are making some url manipulations, but it has a small drawback, it only works with the current url. I extended a bit so it can accept a url as an argument so you can work also with another urls, here is the code: http://gist.github.com/114855

Category: jquery javascript

    follow me on Twitter