such as:
{% include file.name %} to {% include file1.name %}
Since the file.name is in include parentheses, I could not use {{ file.name }} to achieve this.
Thought maybe I could use something like jquery,
$(".btnt").click(function(){
$("section:fourth").replaceWith("{% include 'file1.name' %}");}
maybe initiate with button click, would this have to be on same page. I tend to use flask python for most projects.
0 comments:
Post a Comment
Thanks