Reputation: 37377
is this possible?
Upvotes: 0
Views: 156
Reputation: 8461
I believe you have to use .get
:
$.get('ajax/test.html', function(data) {
$('.result').append(data);
});
http://api.jquery.com/jQuery.get/
Upvotes: 1
Reputation: 251062
You can use jQuery.get() to append data...
jQuery.get("URL", function(data) {
jQuery("#myElement").append(data);
});
Upvotes: 1