日期:2014-05-16 浏览次数:20367 次
// JScript 文件
function getdata(obj,id)
{
var d=new Date();
var now = "";
now = d.getFullYear()+"-"; //读英文就行了
now = now + (d.getMonth()+1)+"-";//取月的时候取的是当前月-1如果想取当前月+1就可以了
now = now + d.getDate()+" ";
now = now + d.getHours()+":";
now = now + d.getMinutes()+":";
now = now + d.getSeconds()+"";
$.ajax({
type:"get",
url:"../../Template/jiaxiao/url/zxbm.ashx",
data:"page="+obj+"&id="+id+"&d="+now+"",
success:function(data)
{
$("#datainfo").html(data);
}
})
}