javascript如何触发button 的click事件 解决方法: var btn = document.getElementById( "btnOK ");//btnOK为服务器button控件 btn.click();