IE not triggering jQuery Ajax success

后端 未结 13 1136
心在旅途
心在旅途 2020-12-06 10:50

I\'m working on a script to load some images async using jQuery.

Here is a code snippet of the function that loads the images -

try{
    for(img in i         


        
13条回答
  •  盖世英雄少女心
    2020-12-06 11:25

    A simple fix of this problem is to provide the jQuery setting dataType : 'text' or dataType : 'xml' or dataType : 'json' or any other available response type.

    I had same problem, but it's working fine after specifying the dataType setting in the .ajax call.

    IE is really not an intelligent browser, it doesn't assume the default value string.

    Try it... good luck.

提交回复
热议问题