可能是因为easyui-datebox组件是动态生成的,需要使用事件委托才能绑定事件。可以尝试使用以下代码:

$(document).on('change', '.easyui-datebox', function(){
    // 处理事件
});

这样就可以在easyui-datebox组件上绑定change事件并处理。


原文地址: https://www.cveoy.top/t/topic/fkUh 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录