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

From: Date: Wed, 16 Feb 2000 15:35:50 +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-10351@lists.php.net to get a copy of this message
> 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. true, one could use 'element[x]' instead of 'sanity[]', but if I have three checkboxes named 'sanity[]', I cannot reference the second one using 'sanity[][1]', nor can I reference it using 'element[x][1]' -- go ahead and try, you can't separate it out, because JS doesn't know what to do when you stack up brackets like that. If, however, as I propose, the name were simply 'sanity', I could use 'sanity[1]' to reference the second checkbox. I appreciate that I'm being heard and recieving feedback! thanks, :dusty

« previous php.version4 (#10351) next »