Skip to content

Tag: jquery

How do I pass inputs from jQuery to Flask?

I have three inputs I am trying to pass the values back to a function inside my app, from the index.html rendered in Flask. Here are the inputs: Here is the script to assign and render their values on the page (for Rate and Percent of income sliders) as well as my start at trying to pass the values. Here

Unable to execute a query on flask using MqSQL

Hello there im trying to execute a SQL query using Flask with mysqldatabase, the query returns as a JSON managed my JQuery on the front end. The goal is to use a search bar to find any matches with the data base. The query works just fine if I use just one “like” sentence, for example. But in the …