結果 : check if input text is empty javascript