結果 : if input text is empty javascript