hi all,
i have a page that is dynamically filled. i mean i do have a form with many select, option, and textarea that are sometime in the page and sometime not (depends on many things).
what i'd like to know is if there is a way to know if the textarea, or the select named toto is on the page
i need to take the value entered in, but i know that if you do this for exemple :
document.myForm.toto.value
and if toto is not on the page, it will return an error.
is there a way to test if toto exists before to get the value ?
Best regards,
Elise
i have a page that is dynamically filled. i mean i do have a form with many select, option, and textarea that are sometime in the page and sometime not (depends on many things).
what i'd like to know is if there is a way to know if the textarea, or the select named toto is on the page
i need to take the value entered in, but i know that if you do this for exemple :
document.myForm.toto.value
and if toto is not on the page, it will return an error.
is there a way to test if toto exists before to get the value ?
Best regards,
Elise