I have a html page, these are codes:
<script>
$(document).ready(function(){
$("h4").click(function(){
$(this).html("read");
});
});
</script>
{% for data in collecteddata %}
<div align="center" class="box">{{ data }}</div><h4>unread</h4>
{% endfor %}
For example I click to "unread" and it became "read" but when I refresh page it becomes "read" again. I'm sorry this might be a silly question but how can I save jquery effects on my html page ? Edit:I 'm not working on a server just local, I use jinja and I have no a database. I use just jinja and python.