How to pass Jinja format variable to javascript Ex: {{a.Value}} How to pass the a.value to javascript ? Getting this variable from py file.
You just pass through render_template as normal: var = 'data’ return render_template('index.html', var=var)