結果 : if input field is empty javascript