因为原生的select样式不好改,就有了模拟了sele
使用方法
选择所有要模拟的select控件,执行EmulateSelect ; @param emitChange : will dispatch at userClick;
$("select").EmulateSelect({
emitChange : function() {
}
});
可选的,主动更改日期的控件,这个是用来选择 ”年月日“ 的时候时候会用到的;
setDatePlugin(
{target : $("#YYYY") , el : $("#YYYY").siblings(".select")},
{target : $("#MM") , el : $("#MM").siblings(".select")} ,
{target : $("#DD") , el : $("#DD").siblings(".select")}
);
by nono ; at 2014 : 10 : 11; https://github.com/sqqihao/jQuery-select-emulate.git
版权声明:
1、该文章(资料)来源于互联网公开信息,我方只是对该内容做点评,所分享的下载地址为原作者公开地址。2、网站不提供资料下载,如需下载请到原作者页面进行下载。