Re: About php

From: Date: Wed, 28 Mar 2001 14:30:37 +0000
Subject: Re: About php
Groups: php.general 
Request: Send a blank email to php-general+get-45909@lists.php.net to get a copy of this message
Here is a post from a few months ago that has an idea about your question: Tim ______________________________________________________________ Quick answer: Nothing, if it works. Which browser supports it? Anthony -----Original Message----- From: Ignacio Vazquez-Abrams [mailto:ignacio@openservices.net] Sent: Thursday, December 28, 2000 11:40 AM To: Anthony Martin Cc: 'php-general@lists.php.net' Subject: Re: [PHP] Great javascript function On Thu, 28 Dec 2000, Anthony Martin wrote: > Ever use associative arrays to name a form element? > > <INPUT type="submit" name="doThis[foo]" value="Do Foo"> > > Ever try to use that name with javascript? > > alert ( document.myform.doThis['foo'].value ) ; > > It doesn't work. Or at least, I don't see how it would. The brackets are > Quick question: What's wrong with document.myform["dothis[foo]"].value? >>> vishak tomy <vishak_tomy@USA.Net> 03/28/01 04:39AM >>> Hello, I have a doubt about multi select from drop down, if i set it as <select name="number[]"> then how could I check it for javascript validation. for this select, If any alternative for this please inform me. Vishak ____________________________________________________________________ Get free email and a permanent address at http://www.netaddress.com/?N=1 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#45909) next »