【发布时间】:2014-01-29 05:59:31
【问题描述】:
如何取消选择 Jquery Datepicker 中的值? 我尝试了以下代码,但它不起作用。还有什么想法吗?
if (this.displayClear) {
$pop.append(
$('<a href="#" id="dp-clear">' + $.dpText.TEXT_CLEAR + '</a>')
.bind(
'click',
function()
{
c.clearSelected();
//help! reset the value to '': $(this.something).val('')
c._closeCalendar();
}
)
);
}
【问题讨论】:
标签: jquery asp.net-mvc jquery-ui