jQuery $.get() function succeeds with 200 but returns no content in Firefox

后端 未结 3 828
感情败类
感情败类 2021-01-24 01:58

I\'m writing my first bit of jQuery, and I\'m having a problem with jQuery.get(). I\'m calling this;

$.get(url, updateList);

where

3条回答
  •  闹比i
    闹比i (楼主)
    2021-01-24 02:22

    Stick alert (or breakpoint in Firebug) and see if the data returned is not an object (or if there is any data). If the former - you may need to drill into the object to get your markup

提交回复
热议问题