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