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  What is the purpose of MaterialApp in Flutter?

Leave a Reply

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