結果 : how to get current value of input in javascript