AJAX

get和post的区别

get是用于获取信息的,

post是用于传送数据的,

 

each() 方法规定为每个匹配元素规定运行的函数。

语法

$(selector).each(function(index,element))
参数描述
function(index,element)

必需。为每个匹配元素规定运行的函数。

  • index - 选择器的 index 位置
  • element - 当前的元素(也可使用 "this" 选择器)

 

 

posted @ 2018-09-26 20:29  闹什么闹  阅读(69)  评论(0编辑  收藏  举报