how to refresh a portion of the screen using javascript code example
Example 1: relode div
function updateDiv()
{
$( "#here" ).load(window.location.href + " #here" );
}
Example 2: 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.