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

Popular posts from this blog

c - sscanf() double showing zeros -

pentaho - Carte Status / Kettle Slave Server Status page shows status for random runs instead of the latest run -