javascript reload section of page code example
Example 1: reload page javascript
window.location.reload();
Example 2: javascript reload page
location.reload();
Example 3: relode div
function updateDiv()
{
$( "#here" ).load(window.location.href + " #here" );
}
Example 4: Function used to reload the portion of a page using javascript
$('#thisdiv').load(document.URL + ' #thisdiv');
• Be sure to include a space before the id selector when concatenate.