I\'m using AJAX to append data to div element, where I fill the div from JavaScript, how can I append new data to the div without losing the previous data found in div?
If you are using jQuery you can use $('#mydiv').append('html content') and it will keep the existing content.
$('#mydiv').append('html content')
http://api.jquery.com/append/