代码如下:function ResumeError() { return true; } [removed] = ResumeError; function showdd(obj){ var dds = document.getElementById(obj).getElementsByTagName(“dd”); var len = dds.length; if(dds[0].style.display == “none”){ //该操作为展开菜单,需要判断cookie中是否有该项 //1、有