I can't comeup the terminology: what is the "answer" that the server sends to Get method? It builds the HTML document, but how it's called? Answer document?
I'm trying to find how i can get the html value (rname in this situation) to javascript. My server makes this html "welcome ... " text, but now i would need to reuse that name in javascript (at the same page).
<h1> Welcome {{rname}} </h1>
How i can assign rname to javascript variable?
I found this solution, but it seems way over complicated to just read one "variable" Passing variables from Flask to JavaScript