jQueryを使った場合
$('#hoge').click();
jQueryを使わない場合
var elem = document.getElementById('hoge');
var evt = document.createEvent( "MouseEvents" );
evt.initEvent( "click", true, true );
elem.dispatchEvent( evt );
参考
http://stackoverflow.com/questions/17569012/simulate-a-click-on-a-element-using-javascript-jquery
http://stackoverflow.com/questions/2705583/how-to-simulate-a-click-with-javascript


