Include jQuery & this plugin into your HTML file and use this js code:
$('#target').actualizer('a');
On click at any A element, the element with id ‘target’ will contain content of the page in href attribute.
You also can write as parameter a form instead of a link.
Include code:
<script src="https://cdn.jsdelivr.net/gh/ratajs/jquery-actualizer@046f03646fb1ce7ab3334d853f902ff133047af1/actualizer.min.js" type="text/javascript" integrity="sha384-4QdkJCahv8yGsY9ZhDuZGCzcTeepxI4uyd5U2+//cnBPh/1C5nO/xH/ztF5wo5rE" crossorigin="anonymous"></script>