大师对JAVA、DOM挺熟悉
不会对javascript陌生吧?
随便给元素一个事件都能提交Form
<form id="form1">
<a href="javascript:document.getElementById('form1').submit()">提交</a>
</form>
<a href="javascript:document.getElementById('form1').submit()">提交</a>
<button onclick="document.getElementById('form1').submit()">提交</button>
<div onclick="document.getElementById('form1').submit()">提交</div>
不会对javascript陌生吧?
随便给元素一个事件都能提交Form
<form id="form1">
<a href="javascript:document.getElementById('form1').submit()">提交</a>
</form>
<a href="javascript:document.getElementById('form1').submit()">提交</a>
<button onclick="document.getElementById('form1').submit()">提交</button>
<div onclick="document.getElementById('form1').submit()">提交</div>
[此贴子已经被作者于2007-6-5 13:57:48编辑过]