結果 : how to allow user input in javascript