)<[^<]*)*/gi;
var text = html.replace(SCRIPT_REGEX, ""); //正则替换为空
var arr = text.split('@');
if(arr[0] == '推荐成功') else {
$("#recommendbody").append(arr[1]);
}
}
});
/* jquery写法
var comment_cid = window.location.hash;
var commentcid = comment_cid.slice(1);
if(commentcid) {
jQuery("#"+commentcid).parent().animate({height: 'toggle', opacity: 'toggle'}, "fast");
jQuery("#"+commentcid).parent().prev().hide();
}
*/
//window.onload = function()
//获取第一个子节点
var first=theNode.children[0];
first.style.backgroundColor = "#E6E6B8";
//获取父节点元素
var prent = theNode.parentNode;
prent.style.display = 'block';
//前一个元素节点
var pre = prent.previousElementSibling;
pre.style.display = 'none';
}
//}
});