Re: problem of javascript with dropdown list of array.
| From: | Jason Wong | Date: | Wed, 06 Nov 2002 05:25:13 +0000 |
| Subject: | Re: problem of javascript with dropdown list of array. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-122940@lists.php.net to get a copy of this message | ||
On Monday 04 November 2002 21:29, Mack wrote:
>
> -----------------------------------------------------------
> the form with the events:
>
> <form name="entryform" enctype="multipart/form-data"
> method="post"
> action="/ayni2/admin2/producto.php">
>
> <select name="select02[]" size="5" multiple></select>
> <input type="text" name="text01">
> <input name="button" type="button" onClick="one2two(text01,
> select02[])"
Try using:
onClick="one2two(text01, document.entryform.elements['select02[]'])"
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
A man who carries a cat by its tail learns something he can learn
in no other way.
*/