Skip to content

Instantly share code, notes, and snippets.

@liwh
Created August 23, 2010 06:34
Show Gist options
  • Save liwh/544924 to your computer and use it in GitHub Desktop.
Save liwh/544924 to your computer and use it in GitHub Desktop.
今天,遇到一个问题,就是在某些ie下,点击某些链接的时候,ie会自动关闭,开始不知道原因的所在,后来,经过一步步的遮盖代码定位到了问题出现的地方,这是由于,在javascript代码中,某些函数通过document.getElementId("some id"),但是页面中,不存在对应的id,所以造成这种情况
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment