I have the following code and try to make the result of the ajax fade in
$.post('e.php', {term: $(this).text()} , function(data) {
$('#dictionary').html(data).fadeIn("slow");
})
This is not working. How I must edit it, to make the results fade in the div
?
Thanks in advance
EDIT
Everything works fine, except the effect, it doesnt take place. I see the results appear in the div
, not fade in it.
It may have to do with the fact that #dictionary
might be visible before the fadeIn()
call. See this question.