web.designer.iq
04-19-2009, 02:21 PM
Hi,
I have 2 forms like this:
<form id="form1">
//Elements
</form>
<form id="form2">
//Elements
</form>
I want to use javascript to get the form 1 elements or form 2 elements. How can i do it please?
Note: i used forms[0] with document object but is not working.
I have 2 forms like this:
<form id="form1">
//Elements
</form>
<form id="form2">
//Elements
</form>
I want to use javascript to get the form 1 elements or form 2 elements. How can i do it please?
Note: i used forms[0] with document object but is not working.