Hi,
Is there a trick for submitting an HTML form without action parameter
pointing to the target file?
I am trying to reverse engineer an html form inside a jsp page. and
this is what I come across
<form method="POST" name="Userpasshidden" onsubmit='return true'><!--
action="../../login.jsp" -->
.....
<input id="bok" class="buttonAction" type="button" value="OK"
onclick="doLogin()">
--------
this is the doLogin function
function doLogin() {
document.forms.Userpasshidden.user.value =
doEncode(document.forms.Userpass.duser.value);
document.forms.Userpasshidden.pass.value =
doEncode(document.forms.Userpass.dpass.value);
if (document.all) document.all["bok"].disabled = true;
else document.getElementById("bok").disabled = true;
document.forms.Userpasshidden.submit();
}