【发布时间】:2016-05-21 11:13:51
【问题描述】:
当我尝试为将来的表行动态构建 jquery-ui datepicker 时。我发现了一些奇怪的东西。下面的代码就是问题所在。
$('#emp-table').live('focus','.obj-datepicker'function(){
alert('this is not working though function work');
$(this).datepicker({
isActiveX: true
}).next('a').click(function() {
$(this).prev().eq(0).datepicker("show");
});
})
我已经用谷歌搜索了这个奇怪的问题,但未能弄清楚。
为什么触发事件后警报不起作用???
【问题讨论】:
-
使用来自 django 的错误跟踪更新问题。 500 可能意味着任何事情
标签: javascript jquery datepicker live