http://blog.csdn.net/totogogo/archive/2010/06/04/5646564.aspx

load 方法的回调函数是不论成功与否都调用,而 $.get(), $.post(), $.getScript() and $.getJSON() 的回调函数只有 response 的状态是 success 才会调用该方法
全局函数 $.each() 可以用来遍历对象(包含 json 对象)或数组
$.each() 是以要遍历的对象 / 数组作为第一个参数,以回调函数作为第二个参数。回调函数有2个参数,第一个为对象成员 / 数组的索引,第二个为对应于索引的 element

相关文章:

  • 2021-09-28
  • 2021-12-02
  • 2022-03-01
  • 2022-03-09
  • 2022-01-21
  • 2021-08-11
猜你喜欢
  • 2021-04-13
  • 2021-10-13
  • 2021-07-14
  • 2021-12-04
  • 2022-02-01
  • 2021-06-01
  • 2021-08-25
相关资源
相似解决方案