浏览器 JavaScript Internet Explorer 广告
把这句封装到function中试试
document.getElementById('div1').style.display='none';
try:
nbsp;html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">无标题文档
关闭你这个写法是用到了href,,是链接跳转,,不是触发事件 ,,
关闭
应改为:关闭