Re: URGENT: Javascript and multiple <checkbox> of same name?
| From: | Chien-pin Wang | Date: | Wed, 20 Dec 2000 04:22:47 +0000 |
| Subject: | Re: URGENT: Javascript and multiple <checkbox> of same name? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-31147@lists.php.net to get a copy of this message | ||
I'm not really sure what a <textbox> is. But in general, JS handles form
variables with the same name by array. You need to refer to them by
varName[0], varName[1]... etc. Array index will be following the sequence
that varName appears in your form. Hope this help.
Chien-pin
"Is it the real life? Or is it just fantacy?"
On Wed, 20 Dec 2000, Josh G wrote:
> How does JS deal with multiple <textbox>en having the same name?
>
> I know it's a little OT but I need an answer urgently
>
> Gfunk
>
> My name was Brian McGee,
> I stayed up listening to Queen,
> When I was seventeen.
>
> http://www.gfunk007.com/
>
>
>
>
>