赞
踩
//replace(/\-/g, "\/")是根据验证表达式把日期转化成长日期格式
var sDate = new Date(document.getElementById_x("datetimepickerStart").value.replace(/\-/g, "\/"));
var eDate = new Date(document.getElementById_x("datetimepickerEnd").value.replace(/\-/g, "\/"));
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。