jQuery MiniUI

标题: mini-listbox 事件 [打印本页]

作者: newcomer    时间: 2014-7-21 17:32:22     标题: mini-listbox 事件

怎么给listbox添加事件?谢谢各位大侠了。

作者: felt    时间: 2014-7-21 21:20:48

http://www.miniui.com/docs/api/index.html#ui=listbox
具体事件参考API
可以写在标签上onvaluechanged="onValueChanged"
动态绑定listbox.on("valuechanged",function(e){

})
作者: newcomer    时间: 2014-7-22 11:07:45

felt 发表于 2014-7-21 21:20
http://www.miniui.com/docs/api/index.html#ui=listbox
具体事件参考API
可以写在标签上onvaluechanged="o ...

3q,问题解决了。




欢迎光临 jQuery MiniUI (http://miniui.com/discuss/) Powered by Discuz! X2