結果 : check if input text is not empty javascript