Thank you so much, that worked perfectly...I know it's off topic, but do you
know how to automatically select all elements of a select multiple box and
then submit the form using a submit button?  Thanks!
-Greg

"John Nichel" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> document.forms[0].elements['select1[]']
>
> Assuming the form is your first form on the page, reference the element
>   in JavaScript as above.
>
> Greg wrote:
> > I have a problem with 2 select multiple boxes in my PHP pages.  In order
for
> > PHP to pass multiple values to a page that it is posted to, the name of
the
> > select box must have [] at the end of it.  My problem is that when I do
that
> > for select1[] in my page that breaks the syntax of the JavaScript code
that
> > performs operations on it.  Is there any way around this?  I'm looking
for
> > either a PHP or a JavaScript solution.
> > Thanks,
> > Greg
> >
> >
> >
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to