我想实现一个清除按钮显示弹出在mobiscroll日期选择器 有一个选项使用button3
,但我无法清除输入并隐藏滚动。Mobiscroll清除按钮
jQuery(this).mobiscroll({
preset: 'date',
theme:'ios',
button3Text:'clear',
button3: function(input, inst){
jQuery(this).val();
inst.close();
}})
我正在尝试使用函数的输入和inst
参数。 不幸的是,我无法使它工作。
你能帮忙吗?
谢谢卢卡斯