开发者

Is there an evalScripts: false (from mootools) equivalent in jQuery?

开发者 https://www.devze.com 2023-01-01 23:19 出处:网络
I read the specs on http://api.jquery.com/jQuery.ajax/ and found that depending on the dataType, script开发者_C百科s are automatically evaluated for every response. Is it then possible to force jQuery

I read the specs on http://api.jquery.com/jQuery.ajax/ and found that depending on the dataType, script开发者_C百科s are automatically evaluated for every response. Is it then possible to force jQuery not to evaluate the script parts of the response?


Set dataType to text.

0

精彩评论

暂无评论...
验证码 换一张
取 消