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
Post a Comment