結果 : how to check if input text is empty javascript