Try with quotes:
alert("{{name}}");
More Related Contents:
- How can I pass data from Flask to JavaScript in a template?
- Rendering to JS with Jinja produces invalid number rather than string
- Pass JavaScript variable to Flask url_for
- Update and render a value from Flask periodically
- Flask Dynamic data update without reload page
- JavaScript raises SyntaxError with data rendered in Jinja template
- Display data streamed from a Flask view as it updates
- Flask – Calling python function on button OnClick event
- Pass parameter with Python Flask in external Javascript
- Display the contents of a log file as it is updated
- Javascript – No ‘Access-Control-Allow-Origin’ header is present on the requested resource
- Solve Cross Origin Resource Sharing with Flask
- How to pass a list from Python, by Jinja2 to JavaScript
- How can I pass parameter through serialization and then parse them using external JavaScript?
- Passing variables from Flask to JavaScript
- sending data as JSON object from Python to Javascript with Jinja [duplicate]
- Get data from html and and pass the data back to the front end using ajax or js
- Python Flask Cors Issue
- Running python on client side
- WebDriver click() vs JavaScript click()
- Getting the return value of Javascript code in Selenium
- How can I execute a python script from an html button?
- Accessing Shadow DOM tree with Selenium
- Accessing elements in the shadow DOM
- Serve static files from a CDN rather than Flask in production
- How to send a date directly as text to a calendar control with readonly attribute using Selenium through Python?
- Django authentication and Ajax – URLs that require login
- How can I have a host and container read/write the same files with Docker?
- What’s different between Python and Javascript regular expressions?
- FastAPI is not returning cookies to React frontend