Value from request.getParameter is null when used form.submit()
I have problem about using form.submit()
this is sample code
<%
string test = request.getParameter("txtID");
System.out.println(test);
%>
<html>
<form method=post action="">
<input type=textbox id=txtID value="hello">
<input type=submit value=submitonclick="this.form.submit();" >
</form>
<html>
if I remove onclick function, It word fine
What wrong am I?
regards

