IE8 treats json response as file and tries to download it

前端 未结 3 1681
心在旅途
心在旅途 2021-01-01 20:27

I am using IE8 and I am sending ajax request to on of the url which sends back response as json. The jquery code for the ajax setup is given below:

$(documen         


        
3条回答
  •  梦谈多话
    2021-01-01 21:09

    I modified the url of your code and used the latest version of JQuery and it runs fine within IE8 for me

     
       
       
     
     
     
    
    
    

    There is a known issue as detailed in this answer where IE8 has problems with an extra comma in a result array. Check the contents of the response alert for this.

提交回复
热议问题