結果 : javascript code to get user input