1、加上自定字段名:递交時间-- tijiaoshijian
2、在模板 form /form 中加上以下编码就可以
input name= tijiaoshijian value= type= hidden id= tijiaoshijian /
script type= text/javascript
window.onload = function(){
var nowDate = new Date();
var str = nowDate.getFullYear()+ - +(nowDate.getMonth() + 1)+ - +nowDate.getDate()+ +nowDate.getHours()+ : +nowDate.getMinutes()+ : +nowDate.getSeconds();
document.getElementById( tijiaoshijian ).value=str;
}
/script
dedecms模版,dedecms公司模版,dedecms新闻资讯模版,高档HTML5响应式模版,dedecms手机上模版,织梦cms模版实例教程,网站模版,网页页面模版,完全免费网页页面模版
Copyright © 广州凡科互联网科技有限公司 版权所有 粤ICP备10235580号
全国服务电话:4000-399-000 传真:021-45545458
公司地址:广州市海珠区工业大道北67号凤凰创意园