I want to pass javascript string variables and render them on the URL.
For example, if I have URL = "xyc.com". Once there is a variable (a) populated, I want that variable to be rendered in the address bar with URL = "xyc.com/?a=" .
I am currently using the flask and .ajax function in javascript (where the variable is being populated) in this application. Can someone please provide me some guidance on how I can accomplish this? Thank you!
https://stackoverflow.com/questions/67411276/pass-javascript-variable-to-url-parameter May 06, 2021 at 11:05AM
没有评论:
发表评论