Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

修正使用 innerHTML 會導致頁面上的js失效的問題 #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

not0000
Copy link

@not0000 not0000 commented Nov 2, 2018

目前的求職小幫手如果載入頁面,因為使用innerHTML,會導致原本頁面上所有js都無法運作
改用insertadjacenthtml可以避免這個問題,支援度可到IE10以上
https://caniuse.com/#feat=insertadjacenthtml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant