javascript - Ajax responseText issue -


is possible ajax responsetext without response deleting previous content?

for example:

 <div id="content">  <p>default content</p>   </div> 

after running normal ajax request responsetext targeting id="content" document's previous content changes to:

  <div id="content">   <p>ajax response</p> </div> 

is possible keep both "default content" , "ajax response" in same div id after ajax request?

$("#content" ).append(myresponsetext_variable); 

Comments

Popular posts from this blog

user interface - How to replace the Python logo in a Tkinter-based Python GUI app? -

objective c - Greedy NSProgressIndicator Allocation -

how to set an OCR language in Google Drive -