可选的jQuery UI-使多个选择成为默认选择 [英] jQuery UI selectable - making multiple select default

查看:92
本文介绍了可选的jQuery UI-使多个选择成为默认选择的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

默认情况下,我需要使多个选择可用,因此用户不必按住ctrl.谢谢您的帮助.

I need to make multiple selection available by default, so the user doesn't have to hold ctrl. Would appreciate some help with this, thanks.

推荐答案

如果要使用selectable,则可能要在mousedown事件中使用绑定元键.在此处上已经有辩论了,我在Google搜索时才发现.

If you want to use selectable , you might want to use bind meta key with mousedown event. There's already a debate going down here , i just found when i googled.

这篇关于可选的jQuery UI-使多个选择成为默认选择的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆