Answers for "javascript refresh div on click"

1

relode div

function updateDiv()
{ 
    $( "#here" ).load(window.location.href + " #here" );
}
Posted by: Guest on April-22-2020
0

refresh page on div click

<div id="refresh" onClick="refreshPage()">refresh
    <!-- <button type="button" onClick="refreshPage()">Close</button> -->
</div>

<script>
function refreshPage(){
    window.location.reload();
} 
</script>
Posted by: Guest on January-08-2021
0

ajax data not reflecting after refresh particular div jquery

$(document).ready(function() {
$.ajaxSetup({ cache: false });
setInterval(function() {
$('#loaddiv').load('teste.asp');
}, 1000);
});
Posted by: Guest on November-11-2020

Code answers related to "javascript refresh div on click"

Browse Popular Code Answers by Language