我希望你能帮帮我!此功能在 Internet Explorer 中不起作用!我能怎么做?
function docClick (oEvent) {
var bHide = true, oTable = document.getElementById("content_tab");
for (var oItTarget = oEvent.target; oItTarget; oItTarget = oItTarget.parentNode) {
if (oItTarget === oTable) { bHide = false; break; }
}
if (bHide) {
oTable.style.visibility = "hidden";
}
}
谁能帮我?谢谢!