zend framework2 - zf2 How to achieve auto-complete when use fieldset -


i have web form generate using zf2 fieldset, 1 of input field "company name" in case, want achieve auto-complete source select option comes database.

thank advice in advance,

frank

here 1 way it.

  • make fieldset launch jquery function when type in
  • this function fetch data api controller in json
  • the controller asks data , returned them json
  • one fetch have display data

you can using jquery typeahead

hope you


Comments

Popular posts from this blog

node.js - Mongoose: Cast to ObjectId failed for value on newly created object after setting the value -

gradle error "Cannot convert the provided notation to a File or URI" -

python - NameError: name 'subprocess' is not defined -