var list=outer.getElementsByTagName('li');这句有问题是怎么回事Uncaught TypeError: Cannot read property 'getElementsByTagName' of null
把outer改为document
outer 这个对象未定义!
outer is null