Hi,
if i had a form name='list':
<input name='box' type='text'>blah</input>
<input type='submit' name='hello' value='3' >
i know that you grab the value by
document.list.box.value = blah
but what if you want to access hello?
document.list.key? or document.list.key(2) is wrong...
my form only has two elements, a text and a submit.
my submit's name is built dynamically. (aside from the point)
I have many submit buttons but the form only has 2 elements.
Is it possible to grab that name?
Thanks,
Candy
if i had a form name='list':
<input name='box' type='text'>blah</input>
<input type='submit' name='hello' value='3' >
i know that you grab the value by
document.list.box.value = blah
but what if you want to access hello?
document.list.key? or document.list.key(2) is wrong...
my form only has two elements, a text and a submit.
my submit's name is built dynamically. (aside from the point)
I have many submit buttons but the form only has 2 elements.
Is it possible to grab that name?
Thanks,
Candy