动态生成的Dom无法响应datepicker的默认加载事件,所以需要在Dom生成之后重新加载一次。

1 $(".datepickerDom").live("focus", function () {
2   $(this).datepicker({ dateFormat: "dd/mm/yy", changeMonth: true, changeYear: true });
3 });

 网友需要源代码,时间过了好久,我重新做了一个,示例下载地址如下:

360网盘下载

博客园下载

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-24
  • 2021-05-22
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-11-30
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案