I append some text to a container, and alert user after successful append like;
$("SomeTextToAppend").appendTo(".container",function(){
alert("appended");
});
But alert is not working. Appending is fine. Also, I would like to know how to do the same using append()
function. How can I do this?