I am using .load() function to load html content from a controller action and put in an existing container element, The problem is that this coming data from the load method remove everything in this container and then write the new data there, What I want is to keep any content inside this container and just append the coming data.
here is my load:
$("#container").load("/Profile/Chat", { friendId: friendId });
1 Answer