Reputation: 12275
I am having trouble figuring this out. I am making a jQuery Ajax call. I am trying to append the data after an element without creating an element to stick it into, if that makes any sense so for example trying to do something like:
$('#load').after().html(data);
I know thats not right but hopefully you understand what I am trying to do. Any help is greatly appreciated.
Upvotes: 0
Views: 175
Reputation: 30135
you have to pass the data to after(), not assign it.
$('#load').after(data);
Upvotes: 1