結果 : how to validate input text in javascript