摘要: document.onclick = function (event) { var e = event || window.event; var elem = e.srcElement||e.target; while(elem) { if(elem.id == "Divid") { return; } elem = elem.parentNode; } //隐藏div的方法 HiddenDiv(); } 阅读全文
posted @ 2014-03-20 14:06 蝼蚁尚不自知 阅读(205) 评论(0) 推荐(0) 编辑