Answers for "javascript to update a div"

1

how to change text of div in javascript

document.getElementById("content").innerHTML = "whatever";
Posted by: Guest on November-21-2020
1

relode div

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

Browse Popular Code Answers by Language