Re: [PHP4BETA] FW: [PHP4BETA] please consider this functionality in v4

From: Date: Wed, 16 Feb 2000 18:12:19 +0000
Subject: Re: [PHP4BETA] FW: [PHP4BETA] please consider this functionality in v4
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-10367@lists.php.net to get a copy of this message
-- rasmus@php.net wrote: >> [from subsequent post] >> > This is already implemented: >> > "server/myfile.php?sanity[]=fading&foo=bar&sanity[]=gone" >> > will accomplish what you're after. >> >> In a very false and limiting way. A specific instance: you can't use >> javascript within your html to manipulate an element whose name has >> brackets in it! > > Of course you can. Every element has a numerical identifier in > JS. Reference sanity[] using its numerical index and you can do > whatever you want with it. > > -Rasmus Another approach is to assign the string literal 'sanity[]' to a variable and use that to reverence the element. Colin Putney 604-932-0606 x21 Bit Flinger cputney@whistler.net Whistler Networks http://www.whistler.net/

« previous php.version4 (#10367) next »