I was using Selectize.js in a select box, What i need is, if an item is not in the list of options i would need to add a new item. When new item is added, i want to have an ajax
Actually you must return an object with properties that match the names for your labelField and valueField options:
If you needed to perform a remote operation you would code it like this: