結果 : how to handle submit button in javascript