(Aug-06-2020, 04:31 AM)t4keheart Wrote: lol I was hoping for a simpler cleaner way to accomplish the same thing that ajax does- updating the content on the form without reloading the page... hopefully with flask. If I have to throw some js into the form html page itself that's fine.That's usually how it works it's not many lines to do a Ajax form update or whatever want to update without Reload the page.
Here a older tutorial Ajax in Flask,so it's 4-5 lines of JavaScript.
jQuery as i use here still make it relatively easier to implement than vanilla JavaScript methods,
no do modern developers tend to mock jQuery as the use eg React,Vue,Svelte...ect as that's cooler.
I do like Svelte approch and i have it running running from Flask,so will do some experimenting with it.