摘要:
如将日期格式化为yyyy-mm-dd的格式:$('#dd1').datebox({formatter:function(date){return date.getFullYear()+'-'+(date.getMonth()+1)+'-'+date.getDate();},parser: function(date){ return new Date(Date.parse(date.replace(/-/g,"/")));}});jquery里面事件绑定可以用,注绑定会绑定多次的操作记录,所以在绑定一个值是在操作前需清空绑定$ 阅读全文
posted @ 2013-01-10 10:27
山雨-B
阅读(785)
评论(0)
推荐(0)


浙公网安备 33010602011771号