<button id="btn">提交</button>
<a id="subbtn" href="http://www.osxue.com">系统学堂</a>
<script type="text/
javascript">
var sub = document.getElementById("subbtn");
var btn = document.getElementById("btn");
//通用方法
btn.onclick = function() {
sub.click();
}
</script>