日期:2014-05-16 浏览次数:20404 次
function onClickul(target) {
var ul = document.getElementById(target).getElementsByTagName('ul');
for (var i = 0; i < ul.length; i++) {
if (ul[i].style.diplay != "none") {
ul[i].style.diplay = "none";
}
else {
ul[i].style.diplay = "";
}
}
}