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="Userpassh idden" onsubmit='retur n true'><!--
action="../../login.jsp" -->
.....
<input id="bok" class="buttonAc tion" type="button" value="OK"
onclick="doLogi n()">
--------
this is the doLogin function
function doLogin() {
document.forms. Userpasshidden. user.value =
doEncode(docume nt.forms.Userpa ss.duser.value) ;
document.forms. Userpasshidden. pass.value =
doEncode(docume nt.forms.Userpa ss.dpass.value) ;
if (document.all) document.all["bok"].disabled = true;
else document.getEle mentById("bok") .disabled = true;
document.forms. Userpasshidden. submit();
}
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="Userpassh idden" onsubmit='retur n true'><!--
action="../../login.jsp" -->
.....
<input id="bok" class="buttonAc tion" type="button" value="OK"
onclick="doLogi n()">
--------
this is the doLogin function
function doLogin() {
document.forms. Userpasshidden. user.value =
doEncode(docume nt.forms.Userpa ss.duser.value) ;
document.forms. Userpasshidden. pass.value =
doEncode(docume nt.forms.Userpa ss.dpass.value) ;
if (document.all) document.all["bok"].disabled = true;
else document.getEle mentById("bok") .disabled = true;
document.forms. Userpasshidden. submit();
}
Comment