In the following form:
<form method=post action="/setup/" name=login>
there is a submit button:
<input type="submit" onClick='document.login.submit()' value="Log In">
After submitting, i am supposed to get another page, but i actually still stay at the same login page. It feels like nothing is doen at all. No exceptions are thrown. No messages are returned by HttpUnitOptions.getScriptErrorMessages();
I have tested that other kind of javascript code works ok (Let's say onClick="MsgBox("This is a test")").
clicking a button like this one bellow is ok too.
<input type="submit" value="Apply">
I appreciate any helping help in advance
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In the following form:
<form method=post action="/setup/" name=login>
there is a submit button:
<input type="submit" onClick='document.login.submit()' value="Log In">
After submitting, i am supposed to get another page, but i actually still stay at the same login page. It feels like nothing is doen at all. No exceptions are thrown. No messages are returned by HttpUnitOptions.getScriptErrorMessages();
I have tested that other kind of javascript code works ok (Let's say onClick="MsgBox("This is a test")").
clicking a button like this one bellow is ok too.
<input type="submit" value="Apply">
I appreciate any helping help in advance