what do you mean flask can have JS?
i can add js code in flask like i would do css in html if i'm correct
that javascript will only be executed in browser, not in Flask/Python. you can code it whatever you want, but to get the line number and what user have selected, it is from inside the browser, and Javascript have to do that. once you got the data, you can POST it back to Flask
Обсуждают сегодня