結果 : how to check input value in javascript