[thelist] getting type of form element

.jeff jeff at members.evolt.org
Sat Nov 2 15:40:01 CST 2002


> From: Tom Dell'Aringa
> I know there is a way to check for a type of element in
> a form but I cannot find the ref. Here is psuedo what
> i want to do:
> function something()
> {
>   myForm
>   if(myForm has a HIDDEN element in it)
>      do something
> }


you'll get the following responses:  hidden, text, password, select-one,
select-multiple, radio, checkbox, submit, button, image, textarea.

good luck,


jeff at members.evolt.org

More information about the thelist mailing list