<input type="button" value="a" onclick="document.getElementById('btnb').click();">
<input type="button" id="btnb" value="b" onclick="alert('i am b');">
<input type="button" id="btnb" value="b" onclick="alert('i am b');">
调试欢乐多
IE ONLY