結果 : how to get user input with javascript