please I need help with the following I need to update a div that contains a table every certain time and I am using the following code
<script type="text/javascript">
$(document).ready(function() {
var refreshId = setInterval(function() {
$("#act1").load("../views/vistaLotes.php")
.error(function() { alert("Error"); });
}, 1000);
$.ajaxSetup({ cache: false });
});
</script>
and I see that he does it but instead of updating the div what he does is about writing literal puts it on
I appreciate your help