var $a=$(".group_head").find("a") $a.click(function(){ if ($(".group:visible")==$(".group:last")) { $(".group:last").addClass("hide"); $(".group:first").removeClass("hide") }; else{ $(".group:visible").addClass("hide").next().removeClass("hide"); } })
請(qǐng)大家?guī)兔匆幌抡Z法錯(cuò)誤在哪里 。firebug 上顯示unexpected token else 不希望存在的標(biāo)簽?
beiciye
2015-12-29 18:15:09