Disclaimer: This article is a blogger original article, shall not be reproduced without the bloggers allowed.
In the execution
time of this code error:
reason:
When execution click events, dom element has not been rendered, solution:
the outer layer plus window.onload it.
But obviously there is an object Tip Can not read property 'addEventListener' of null
Guess you like
Origin blog.csdn.net/sinat_41747081/article/details/90577971
Recommended
Ranking