結果 : how to simulate button click in javascript