Selectize.js onInit load data for autocomplete

Selectize.js is a neat UI tool.  I got introduced to it via a coworker used it in a project.  I didn’t bother to really look into it until recently when I wanted to do autocomplete and multiple selects.

I didn’t find any example code of using the onInit option to load values via a Remote API so I decided to make an example to share with you all.

Code is here on my github, https://github.com/fangstar/selectize-oninitautoloadoption,

Example can be seen here on my DigitalOcean server.

http://107.170.206.216/examples/selectize_ac/selectize

Advertisements
This entry was posted in Coding, Web and tagged , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s