Aw, depende nana sa imo gusto sa design brader. Like if nahan ka ang "message" kay before or after sa content sa imo "divID" na element.
Mas maayo jd if imo i-lahi ug div ang "message" nmu. But if ganahan jd ka, you can simply add an element around the items you want to disappear.
Code:
<span><img src="https://www.istorya.net/forums/images/check.gif" /> SUCCESSFULLY UPDATED DATA!</span>
You will also have to change a few other things too.
Code:
function getData(){
$.get("somelink.php", function(data){
$('#divID').prepend('<span><img src="https://www.istorya.net/forums/images/check.gif" /> SUCCESSFULLY UPDATED DATA!</span>');
$("span").show().fadeOut(2000, function(){ $("span").remove() });
});
}
ako gi tryan ang fadeTo pero pas2x man kayu ang 'slow' ato
You will have to elaborate more, I'm not sure I understand this question.
You can place a number instead of the word 'slow' as a parameter to these functions.
ie.
Code:
$("element").fadeTo(x) // where x is the number of milliseconds you want your animation to take
Note: Daghan kaayo kog gi-add na cheche bureche sa code kay wala ko kbaw unsay requirements nmu. If minimal ra, pde pa kaayo ni i-optimize. Feel free to ask here. =)