結果 : check if text input is empty javascript