Category Archives: javascript

Porting Lowpro to jQuery, Now With More Awesome 0

I’ve been porting a major Rails application (Groupon) from prototype to jQuery lately. The approach I ended up taking was to write some jQuery extensions that would allow all of our existing code to run on top of jQuery with no changes. So, here is a completely Prototype syntax compatible version of Lowpro. However, this [...]

Parse Query String Into Associative Array With JavaScript 2

So, there are lots of functions out there to do this, but this one is my favorite for a couple of reasons. It parses the entire query string as soon as you call the function, whereas other functions require passing in a parameter which the value for the parameter is then extracted from the query [...]