function(data, textStatus, jqXHR) {
$("#info").html(data);
if ((data).substr(0, 5)=="Please") {$("#imgOk").fadeIn();} // doesn't work
data
is is php echo from another page. It is successfully placed into div #info
and it's content is:Please, check your Inbox
.