jQuery AJAX request failing in IE

前端 未结 8 1283
[愿得一人]
[愿得一人] 2020-11-30 03:42

The following AJAX call is failing in IE.

$.ajax({
    url:\"{{SITE_URL}}/content/twitter.json\",
    dataType:\"json\",
    error:function(xhr, status, erro         


        
8条回答
  •  感动是毒
    2020-11-30 04:34

    IE: JSON not defined error resolved at

    http://funkatron.com/site/comments/safely-parsing-json-in-javascript/

    by using dataType: "json" and avoid parsing

提交回复
热议问题