jQuery MiniUI

 找回密码
 立即注册
查看: 3154|回复: 7
打印 上一主题 下一主题

combobox有点击事件吗? [复制链接]

Rank: 2

跳转到指定楼层
楼主
发表于 2013-11-7 16:01:03 |只看该作者 |倒序浏览
combobox有点击事件吗?

valuechanged

值改变时发生

itemclick

下拉项点击时发生

不是这2个事件。



Rank: 8Rank: 8

沙发
发表于 2013-11-7 16:11:50 |只看该作者
你要点击什么的事件?

Rank: 2

板凳
发表于 2013-11-7 16:26:22 |只看该作者
felt 发表于 2013-11-7 16:11
你要点击什么的事件?

就是点击combobox的时候,不一定要选择值。

Rank: 8Rank: 8

地板
发表于 2013-11-7 16:37:55 |只看该作者
xizhen0328 发表于 2013-11-7 16:26
就是点击combobox的时候,不一定要选择值。

combobox他从pupupedit派生,
可以参考:http://www.miniui.com/docs/api/index.html#ui=popupedit 的API
继续往上还有http://www.miniui.com/docs/api/index.html#ui=buttonedit  也可以用

具体的API查看,可以看页面上面的
Extend
mini.pupupedit

Rank: 2

5#
发表于 2013-11-7 17:16:50 |只看该作者
factory 发表于 2013-11-7 16:37
combobox他从pupupedit派生,
可以参考:http://www.miniui.com/docs/api/index.html#ui=popupedit 的API
...

mini.ButtonEdit 的buttonclick貌似没用哦。。

Rank: 8Rank: 8

6#
发表于 2013-11-7 17:26:14 |只看该作者
http://www.miniui.com/demo/index ... dit/buttonedit.html
看下我们这个demo,可以用的

Rank: 2

7#
发表于 2013-11-7 17:33:43 |只看该作者
felt 发表于 2013-11-7 17:26
http://www.miniui.com/demo/index.html#src=buttonedit/buttonedit.html
看下我们这个demo,可以用的 ...

晕了。api里面写的是buttonclick 事件是onbuttonclick


Rank: 8Rank: 8

8#
发表于 2013-11-7 17:39:49 |只看该作者
xizhen0328 发表于 2013-11-7 17:33
晕了。api里面写的是buttonclick 事件是onbuttonclick

事件使用的时候必须前面加on

Archiver|普加软件

GMT+8, 2024-9-29 07:22 , Processed in 1.059552 second(s), 10 queries .

Powered by Discuz! X2

© 2001-2011 Comsenz Inc.

回顶部