Changing Django template context with Javascript -
is possible change html rendered django changing variables (context) javascript?
for example, render, {{ item }}, can hide rendered {{ item }} hiding django variable itself? or have select rendered html @ point. how django's context preprocessors work javascript?
you have remember javascript runs after html rendered. no it's not possible want (changing django variable js).
if want hide content of {{ item }}, wrap in html element select , hide js.
hope helps.
Comments
Post a Comment