結果 : when input field is empty javascript