IE not triggering jQuery Ajax success

后端 未结 13 1107
心在旅途
心在旅途 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:05

    I came to this question with similar issues. And answers above fixed many of my problems. However, there's one more trick I need to do. Don't use

    $.ajax({...,
    success: myfunc,...});
    

    use

    $.ajax({...,
    success: myfunc(),...});
    

提交回复
热议问题