refresh div without load php code example
Example 1: trigger a click on page load jquery
$("document").ready(function() {
$("button").trigger('click');
});
Example 2: javascript change url without reload
window.history.pushState('', 'New Page Title', '/new-url.php');