这安全吗?
<form id="form-id">
<input type='text'name='name'>
<input type='submit' value='Go' name='Go'/></form>
<a href="#" onclick="document.getElementById('form-id').submit();">submit</a>
如果没有,还有其他方法可以实现相同的行为吗?
这安全吗?
<form id="form-id">
<input type='text'name='name'>
<input type='submit' value='Go' name='Go'/></form>
<a href="#" onclick="document.getElementById('form-id').submit();">submit</a>
如果没有,还有其他方法可以实现相同的行为吗?