結果 : user input function in javascript