只需一步,快速开始
18
70
138
初级会员
使用道具 举报
1
6163
2095
金牌会员
半导体 发表于 2017-3-17 11:00 .activeClass{ border-bottom:3px solid blue; }
lilikilki 发表于 2017-3-17 15:28 没效果,class加不上去 Model.prototype.answerBtnClick = function(event){ if($(this).siblings('spa ...
半导体 发表于 2017-3-17 16:09 $(this.getElementByXid('span')).addClass('activeClass');
lilikilki 发表于 2017-3-17 17:48 这样不行,我一个页面有很多个这样的按钮和span
半导体 发表于 2017-3-17 18:14 那你就获取当前的DOM节点
lilikilki 发表于 2017-3-18 13:20 Model.prototype.answerBtnClick = function(event){ $(this).siblings('span').slideTo ...
本版积分规则 发表回复 回帖后跳转到最后一页
小黑屋|手机版|X3技术论坛|Justep Inc.
GMT+8, 2025-7-4 15:19 , Processed in 0.064273 second(s), 26 queries .
Powered by Discuz! X3.4
© 2001-2013 Comsenz Inc.