会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
taosapp
首页
订阅
管理
2010年4月20日
如何获得jquery this 的特定子元素
摘要: 比如给this里的class名为demo的div添加css:var olimgurl = $(this).find(“img”).attr(“src”);$(this).find(”.demo”).css({‘background’ : ‘url(’ + olimgurl + ‘) no-repeat center -192px’});
阅读全文
posted @ 2010-04-20 13:42 taodesign
阅读(1586)
评论(0)
推荐(0)
编辑
公告