結果 : how to prevent a form from submitting using javascript