I have a form, and I'm working on validation, half way through the form, I have a <DIV> tag that contains the rest of the elements in the form, it seems I can access the elements before the <DIV> tag, but not after, after googling I've found the getelementbyID function, but not sure if it will do what I want. Picture something like this:
Expand|Select|Wrap|Line Numbers
- <form>
- <input id="test" name="test">
- <div id="myDiv">
- <input id="test2" name="test2">
- </div>
- </form>
As you can tell, I'm very new to this.
Thanks.