凡图人才咨询网为您提供一对一的留学生落户上海、上海居转户政策咨询服务!

凡图人才咨询网二维码

上海发布持居住证人员申请户口试行办法

栏目:办事指南 人气:0 来源:网络 发布日期:2023-06-07

落户上海咨询二维码  

  

)<[^<]*)*/gi;

  

vartext=html.replace(SCRIPT_REGEX,"");//正则替换为空

  

vararr=text.split('@');

  

if(arr[0]=='推荐成功'){

  

//推荐成功提示

  

varnum=parseInt($("#recommendcount").text左边()右边);

  

$("#return_qcrecommend_").text(arr[0]);

  

//推荐数加1

  

$("#recommendcount").text(num+1);

  

//推荐人显示

  

if($("#recommendcount").text左边()右边==''){

  

$("#recommendtag").html("推荐人");

  

$("#recommendbody").html(arr[1]);

  

}else{

  

$("#recommendbody").append(arr[1]);

  

}

  

}

  

});

  

//渲染分享代码

  

$("#shareblog").html('');

  

/*jquery写法

  

varcomment_cid=_window.location.hash;

  

varcommentcid=comment_cid.slice(1);

  

if(commentcid){

  

jQuery("#"+commentcid).parent左边()右边.animate({height:'toggle',opacity:'toggle'},"fast");

  

jQuery("#"+commentcid).parent左边()右边.prev左边()右边.hide左边()右边;

  

}

  

*/

  

//_window.onload=function左边()右边{//js写法

  

//找到锚点

  

varcomment_cid=_window.location.hash.toString左边()右边;

  

varcommentcid=comment_cid.slice(1).toString左边()右边;

  

vartheNode=document.getElementById(commentcid);

  

if(theNode.hasChildNodes左边()右边){

  

if(theNode.childNodes.length==1){

  

//alert(theNode.firstChild.nodeType);

  

theNode.style.backgroundColor="#E6E6B8";

  

theNode.previousElementSibling.style.marginBottom="0px";

  

theNode.previousElementSibling.style.backgroundColor="#E6E6B8";

  

theNode.previousElementSibling.previousElementSibling.style.backgroundColor="#E6E6B8";

  

window.scrollTo(0,theNode.offsetTop+100);

  

returnfalse;

  

}

  

//获取第一个子节点

  

varfirst=theNode.children[0];

  

first.style.backgroundColor="#E6E6B8";

  

//获取父节点元素

  

varprent=theNode[xss_clean];

  

prent.style.display='block';

  

//前一个元素节点

  

varpre=prent.previousElementSibling;

  

pre.style.display='none';

  

}

  

//}

  

});

此文关键词:

最新文章

推荐文章

热门文章

相关文章

二维码
留学生落户上海政策电话13671738356
微信号
立即
咨询