Monday, March 27, 2006

I Want My Javascript Net_URL

window.location has to be one of the poorest documented things in javascript I can think of.

I want to make a new Generic URL object of some kind - ala PHP's Net_URL. It just so happens I can do a lot with window.location - but if I want to change the querystring in a neat fashion (which, I DO), I'm stuffed: window.location.search gives me the query string, and I have to do my own explode, find, replace, back to string.

Where's my associative arrays when I want them :(

No comments: