AJAX jQuery.load versus jQuery.get

前端 未结 4 811
深忆病人
深忆病人 2020-11-27 20:16

When should the load( url, data, callback ) method be used versus jQuery.get( url, data, callback, type ) when making AJAX calls with jQuery?

4条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-11-27 20:38

    would only have to look at the jQuery code, as it is available for review. anyway all calls must reach the same method but respond in different ways depending on the need

提交回复
热议问题