<div class="tit">*咨询内容:</div>
<div class="inp">
##textarea name='acca_js' id='acca_js' class="upfile" >##/textarea>
<input type='hidden' name='acca_time' id='acca_time' value='' />
<!--获取表单提交时间开始-->
<script language="javascript" 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();
$("#acca_time").attr("value",str);//jq写法
//document.getElementById("acca_time").value=str; //原生写法
</script>