結果 : check if text field is empty javascript