Re: Passing MULTIPLE values using URL string



On Sun, 30 Sep 2007 14:03:11 +0200, Thomas 'PointedEars' Lahn wrote:
Safalra (Stephen Morley) wrote:
Something like this will extract the query parameters into an convenient
structure:

http://www.safalra.com/programming/javascript/get-data/

You can then use window.location.get.Trouwdd and window.location.get.Naam.

It is well-known that host objects should not be augmented as their
existence is not guaranteed and their behavior for adding properties
is not defined by the language standard. Therefore, using that code
is very unwise.


I've never heard of this 'well-known' problem before. If window.location
doesn't exist then any code attempting to access window.location.search
won't work anyway. Is there any current JavaScript-capable browser in which
you can't add properties in this way (if there is then I'll make the effort
to distinguish between the de facto and de jure standards)?


--
Safalra (Stephen Morley)

Sortable Tables In JavaScript:
http://www.safalra.com/web-design/javascript/sortable-tables/
.