var obj = document.getElementById('go'); if(document.all){ obj.click(); }else{ var e = document.createEvent('MouseEvents'); e.initEvent('click', true, true); obj.dispatchEvent(e); }
var obj = document.getElementById('go'); if(document.all){ obj.click(); }else{ var e = document.createEvent('MouseEvents'); e.initEvent('click', true, true); obj.dispatchEvent(e); }