How to preserve the "script" tags using .load() method?
.load()
will 开发者_运维问答delete all script tags from the load html content(Both in Chrome and Firefox). But I have to use .load()
to refresh part of the web pages and the loaded contents always contain <script src="xxxxxx"></script>
and <script>
, which cannot be put to external files. Can anyone give some advice?
精彩评论