jQuery select下拉框单选和多选插件.zip

上传者: 39840515 | 上传时间: 2023-01-10 09:48:16 | 文件大小: 68KB | 文件类型: ZIP
js代码

[removed][removed]
[removed]
$('.form-control-chosen').chosen({
allow_single_deselect: true,
width: '100%'
});
$('.form-control-chosen-required').chosen({
allow_single_deselect: false,
width: '100%'
});
$('.form-control-chosen-search-threshold-100').chosen({
allow_single_deselect: true,
disable_search_threshold: 100,
width: '100%'
});
$('.form-control-chosen-optgroup').chosen({
width: '100%'
});

$(function() {
$('[title="clickable_optgroup"]').addClass('chosen-container-optgroup-clickable');
});
$(document).on('click', '[title="clickable_optgroup"] .group-result', function() {
var unselected = $(this).nextUntil('.group-result').not('.result-selected');
if(unselected.length) {
unselected.trigger('mouseup');
} else {
$(this).nextUntil('.group-result').each(function() {
$('a.search-choice-close[data-option-array-index="' $(this).data('option-array-index') '"]').trigger('click');
});
}
});
[removed]

文件下载

资源详情

[{"title":"( 8 个子文件 68KB ) jQuery select下拉框单选和多选插件.zip","children":[{"title":"jQuery select下拉框单选和多选插件","children":[{"title":"index.html <span style='color:#111;'> 4.76KB </span>","children":null,"spread":false},{"title":"php中文网下载站.url <span style='color:#111;'> 114B </span>","children":null,"spread":false},{"title":"js","children":[{"title":"jquery-1.11.0.min.js <span style='color:#111;'> 94.12KB </span>","children":null,"spread":false},{"title":"chosen.jquery.js <span style='color:#111;'> 44.62KB </span>","children":null,"spread":false}],"spread":true},{"title":"dist","children":[{"title":"css","children":[{"title":"component-chosen.css <span style='color:#111;'> 13.01KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"php中文网免费下载站.txt <span style='color:#111;'> 219B </span>","children":null,"spread":false},{"title":"css","children":[{"title":"demo.css <span style='color:#111;'> 1.17KB </span>","children":null,"spread":false},{"title":"bootstrap.min.css <span style='color:#111;'> 141.48KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明