I am loading JSON data to my page and using appendTo()
but I am trying to fade in my results, any ideas?
$("#posts").fadeIn();
$(content).appendTo("#posts");
我看到文件上有append
和appendTo
的区别.
I tried this as well:
$("#posts").append(content).fadeIn();
I got it, the above did the trick!
But I get "undefined"
as one of my JSON values.