html - Generate a page based on an autocomplete result from a text box (Flask/Python backend) -


i've got text box being filled autocomplete result

$("#job_names").autocomplete({source : data});  //later on in html  <input id="job_names" type= "text"/> <input type= "submit" value= "search" id= "search"/> 

on python/flask backend, i've got this.

@app.route('/jobs/<job_name>') def display_job_info(job_name= none):     #does stuff autocomplete result     #here, job_name autocomplete result 

i can explain more if desired, can show me how take html tag, , pass off python backend through url/route?


Comments

Popular posts from this blog

c# - How to get the current UAC mode -

postgresql - Lazarus + Postgres: incomplete startup packet -

javascript - Ajax jqXHR.status==0 fix error -