jQuery index()

$('#bar').index(); //1,不传递参数,返回这个元素在同辈中的索引位置。
posted @ 2014-05-24 23:06  mabel_on_line  阅读(163)  评论(0编辑  收藏  举报