結果 : javascript code to get input from user