Making A Tag Suggestion Using Jquery Chosen Plugin
I am using jquery chosen plugin https://github.com/harvesthq/chosen/ to make my select form fields pretty. Here is the demo page for chosen plugin https://github.com/harvesthq/chos
Solution 1:
All that you have to do is to modify the select box with an ajax request. Than use :
$("#form_field").trigger("list:updated");
to tell "chosen" that the list has been updated.
Solution 2:
Yes, all of what you ask is possible. From my answer to "Is there a way to dynamically ajax add elements through jquery chosen plugin?":
Take a look at the neat Select2 plugin, which is based on Chosen itself and supports remote data sources (aka AJAX data) and infinite scrolling.
Solution 3:
The koenpunt fork of chosen has the functionality you want. More info here
Post a Comment for "Making A Tag Suggestion Using Jquery Chosen Plugin"