結果 : how to check input in javascript