问题描述:

Does $.post execute any javascript on the page it is fetching after it is fetched?

If so how can I stop that?

Thanks,

Mat

网友答案:

No, unless the content received contains javascript which is then inserted into the DOM.

网友答案:

No, it doesn't.... but if you add the markup returned by the ajax request to the dom then any script in that markup gets executed

相关阅读:
Top