$(document).ready(function () {
$("#2").click(function () {
$("#content").load("{% url 'about' %}");
});
$("#3").click(function () {
$("#content").load("{% url 'pay' %}");
});
});
========== html ===========
<a id="2" href="#">click me </a>
<a id="3" href="#">pay </a>
<div id="content"></div>
<h1>hello</h1>
{% endblock test %}
I am trying to archive that if i reload the page the html fill that called in div remain the same until i click another page link.