if you are thinking to use Java to submit a html form in a browser, then I have no idea .Have somebody else know it.you should gain more points than 40.Maybe 100.
On the other hand,i want to know if i can change my password in csdn.
to karma(无为):can you give me an example about use document.formname.submit();
judgement_sword(没什么) (2001-10-25 10:18:40) 得0分 On the other hand,i want to know if i can change my password in csdn. 系统功能/修改个人注册信息/ 就可以改你的东西了
On the other hand,i want to know if i can change my password in csdn. 系统功能/修改个人注册信息/
就可以改你的东西了
<head>
<title>New Page 1</title>
<script>
function go()
{
document.formname1.submit();
}
</script>
</head><body><form method="POST" action="--WEBBOT-SELF--" name="formname1">
<!--webbot bot="SaveResults" U-File="fpweb:///_private/form_results.txt"
S-Format="TEXT/CSV" S-Label-Fields="TRUE" -->
<p>
<input type="text" name="t1" size="20">
<input type="submit" value="提交" name="b1" onclick="go()">
</p>
</form>
</body>
</html>
可以将onclick该为其它事件