refresh element javascript code example Example: relode div function updateDiv() { $( "#here" ).load(window.location.href + " #here" ); }