you can have access to everything, using the following construct:
window.document.forms[i].elements[j].name and
window.document.forms[i].elements[j].value
so, for example :
the first input text can be accessed as
window.document.forms[0].element[1] while the second can be accessed as
windo
Here if you want, you can access the names with '[]' as:
_sel1 = eval("document.myform.SEL1[]");
_sel1.itemIndex
..
.
.
.
-elias
""Max Vysotskiy"" <[EMAIL PROTECTED]> wrote in message
9deame$cj3$[EMAIL PROTECTED]">news:9deame$cj3$[EMAIL PROTECTED]...
> Hi.
> Why doesn't PHP convert mutiselect va
How can i access names with '[]' w/o eval() or seeking in form's element?
-elias
"Rouvas Stathis" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Actually, you *can* use brackets ([]) in names and javascript can handle
> them just fine.
> -Stathis.
>
> Max Vys
; + test2_1 + "\n"
);
}
test[0]
test[1]
test[2]
test2[]
test2[]
Hope this helps.
--Toby
- Original Message -
From: &quo
Actually, you *can* use brackets ([]) in names and javascript can handle
them just fine.
-Stathis.
Max Vysotskiy wrote:
>
> Hi.
> Why doesn't PHP convert mutiselect values with plain names (not array-like)
> to arrays. Is there any reason to not doing this?
>
> Example:
> I have a page with mul
Hi.
Why doesn't PHP convert mutiselect values with plain names (not array-like)
to arrays. Is there any reason to not doing this?
Example:
I have a page with multiselect, which name is SEL1
(I cannot use square brackets because I need to use a JavaScript on the
page, so, it's not allowed in varia
6 matches
Mail list logo