The title is confusing, so I'll elaborate..
I am working on a FaceBook box for my website, and when the comment is successfully posted, it displays an alert()
. I am wanting to get rid of the alert()
and instead, via jQuery, show and then fade out a div which will say the same thing as the alert()
box.
Here's my code:
}, function (response) {
if (response == 0) {
alert("Your FaceBook status has not been updated.");
} else {
alert("Your FaceBook status has been updated.");
}
showLoader(false);
});