|
- $('input[name="dLastTS"]').each(function (index) {
- console.log(index)
- var _this = this
- //console.log(_this)
- //执行一个laydate实例
- laydate.render({
- elem: _this
- ,type: 'datetime'
- ,done: function (val) {
- var id=_this.id.replace("dLastTS_","")
- update(id,"dLastTS",val)
- }
- });
- })
复制代码 |
|