摘要:
//获取image src路径$(".userImg").click(function(){varimgsrc = $(this).attr("src");alert(imgsrc);});//获取Id $("this")里面的 双引号“” 去掉$(".userImg").click(function(){varimageId= $(this).attr("id");alert(imageId);}); 阅读全文
posted @ 2013-07-09 10:53
jesn
阅读(167)
评论(0)
推荐(0)

浙公网安备 33010602011771号