linxzh1989
V2EX  ›  问与答

flask 表单输入的实时提示

  •  
  •   linxzh1989 · Dec 30, 2016 · 2940 views
    This topic created in 3596 days ago, the information mentioned may be changed or developed.

    大家好,我想在 Flask 里面实现根据表单的输入内容,在数据库里查询后,给对相应的提示信息。比如我应该输入 Arabidopsis thaliana ,当我输入前 4 个单词 Arab 的时候,表单输入框那里可以提示 Arabidopsis thaliana,Arabidopsis himalaica 的下拉框,效果图类似 http://o9vsiutjo.bkt.clouddn.com/Screenshot%20from%202016-12-30%2002-26-03.png

    1 replies  •  2016-12-30 08:34:05 +08:00
    awanabe
    awanabe
    Dec 30, 2016 via iPhone
    1
    autocomplete
    select2
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1306 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 21:10 · PVG 05:10 · LAX 13:10 · JFK 16:10
    ♥ Do have faith in what you're doing.