brianreavis/selectize.js — pull request #375 by OiNutter (2014-04-11 11:22:19+00:00)
Title: Add onOptionSelect event

onOptionSelect now triggers an option_select event when there is a value
set on the option and passes that value to the event handler. The event
handler can be specified by setting the onOptionSelect property when
passing options to selectize.

We needed this for something internal and rather than end up with disparity between our versions and the library I thought I'd see if you thought it would be useful to other people. At the moment it only sends the event if there is a value to pass to it but you may feel it makes more sense to send the event regardless.