Using this SimpleDropDownEffects plugin for jQuery, when the selected value is changed, how do I add a callback?
我正在寻找与'onChange'有关的东西。
$.DropDown.defaults = {
onChange: false,
}
好的,接下来呢?插件有一个点击到选项的功能:
this.opts.on( 'click.dropdown', function() {
// Not executed.
}