document.getelementbyid为空或不是对象的解决方法_javascript技巧