How check data is empty in jQuery?

if(data && data != “”) alert(data); data will be null in your case, and null != “” , so the if is passing.

Sizin İçin Seçtik  How do you check if JavaScript object is null and undefined?

Leave a Reply

Your email address will not be published. Required fields are marked *