結果 : how to handle form submit in javascript