【打印文章】
function CheckAdminStatus(id)
{
var x=new AjaxRequest('XML','');
x.para = ['itemid='+id];
x.post('admineditcheck','/ajax.aspx',function(s)
{
var xml = x.createXmlDom(s);
var status = xml.getElementsByTagName("status")[0].firstChild.data;
if(status=='OK')
{
var managedir = "/Common/GetContentEdit.aspx?ItemId=749" ;
$("content_AdminEdit").innerHTML = "【进入后台编辑】";
}
});
}
CheckAdminStatus(749);
【收藏】