I have multiple form named from "form1" to "form5" within a same root url, for example 220.127.116.11/Form/. In the first page, which means
The form in the response http request would be writtin in a general style as following:
<form name="form1" action="B.do?a=first" method="post" > <input name="sure" type="checkbox" id="sure" value="" /> <input name="submit" type="submit" value="NextStep" /> </form>
I need to fill the form automatically one by one as the previous form will have impact on the next one. And to be clear, after this form1, the url will trace to:
The problem is when I using
document.forms.submit() for each form does not working. Even if i passed to the second page, it seems that the Global Variable have not been passed to the next page.