摘要: alert($(function(){$("img").size()}))//打印出页面有多少个img标签,$("image[title]")[1]//获得所有设置了title属性的img标签的第二个元素。$("image[title]").eq(1)等同于前面写法var iNum=$("li").... 阅读全文
posted @ 2015-07-23 16:43 bearbigbig 阅读(338) 评论(0) 推荐(0)