Re: Passing MULTIPLE values using URL string
- From: "Safalra (Stephen Morley)" <usenet@xxxxxxxxxxx>
- Date: Sun, 30 Sep 2007 14:43:34 +0100
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/
.
- Follow-Ups:
- Re: Passing MULTIPLE values using URL string
- From: Thomas 'PointedEars' Lahn
- Re: Passing MULTIPLE values using URL string
- References:
- Re: Passing MULTIPLE values using URL string
- From: timsamshuijzen
- Re: Passing MULTIPLE values using URL string
- From: Safalra (Stephen Morley)
- Re: Passing MULTIPLE values using URL string
- From: Thomas 'PointedEars' Lahn
- Re: Passing MULTIPLE values using URL string
- Prev by Date: Re: Passing MULTIPLE values using URL string
- Next by Date: Re: Passing MULTIPLE values using URL string
- Previous by thread: Re: Passing MULTIPLE values using URL string
- Next by thread: Re: Passing MULTIPLE values using URL string
- Index(es):