jquery ajax problem in chrome

后端 未结 8 1071
南旧
南旧 2020-11-28 07:41

i have the following jquery code running on my page just fine in FF and IE, but chrome seems to be freaking out..

in FF and IE the call is made and the result is app

8条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-11-28 08:16

    In the AJAX operation just add: async: false after datatype: "json", and that should solve your problem. Chrome has issue handling asynchronous calls.

提交回复
热议问题