'JSON' is undefined error in IE only

前端 未结 6 1856
执念已碎
执念已碎 2020-12-01 04:22

I\'m making an AJAX call to a WCF service and when I pass in my data i use JSON.stringify()

The call returns and works fine in FF, & Chrome, but not IE8. I get

6条回答
  •  抹茶落季
    2020-12-01 04:49

    In IE open the compatibility view settings and remove the localhost from the listbox for "Websites you have added to Compatibility View". It worked for me.

提交回复
热议问题