We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
跳转到目标页之后,目标页内的Ajax内容不会加载
The text was updated successfully, but these errors were encountered:
我的解决方案是这样的: 1、在show方法(228行)里面 把 config.container.innerHTML = html 改成 $(config.container).html(html)。但是会导致重复加载的问题。 2、在show方法(228行)里面,在 config.container.innerHTML之后,使用$.getScript()加载同名JS文件(如main.html 则加载 main.js,类似于React),如果js文件需要缓存可以改成$.ajax()。
Sorry, something went wrong.
页面通过pjax跳转,再由history.back返回的时候会出现js不执行的问题(比如bootstrap轮播图的js,区域滚动的js)怎么解决
No branches or pull requests
跳转到目标页之后,目标页内的Ajax内容不会加载
The text was updated successfully, but these errors were encountered: