Trigger autocomplete without submitting a form

后端 未结 10 630
甜味超标
甜味超标 2020-11-29 01:44

I am writing a very simple web app with three text inputs. The inputs are used to generate a result, but all the work is done in Javascript, so there is no need to submit a

10条回答
  •  执笔经年
    2020-11-29 01:48

    Make sure you're submitting the form via POST. If you're submitting via ajax, do

    , omitting the action attribute.

提交回复
热议问题