jQuery 操作class的一些方法
- removeClass() 方法从被选元素移除一个或多个类。
语法:$(selector).removeClass(class) - addClass() 方法向被选元素添加一个或多个类。
该方法不会移除已存在的 class 属性,仅仅添加一个或多个 class 属性。
提示:如需添加多个类,请使用空格分隔类名。
语法:$(selector).addClass(class) - attr() 方法设置或返回被选元素的属性值。
根据该方法不同的参数,其工作方式也有所差异。
语法:$(selector).attr(attribute)
Congratulations @fkoryp! You have completed some achievement on Steemit and have been rewarded with new badge(s) :
You got your First payout
Click on any badge to view your own Board of Honor on SteemitBoard.
For more information about SteemitBoard, click here
If you no longer want to receive notifications, reply to this comment with the word
STOP
您好。我是 steem 中文区的机器人。昨天,您在 steem 的 cn 社区第二次发布文章。为了让更多的人读到新人的文章,您的文章被列入了中文区新人之家的“希望工程”,欢迎点击查看。
新人之家欢迎你,这里有帮助新手了解 steem 的指南。请注意,新手最容易忽视的两点:1. 千万不要丢失您的密码;2.千万不要抄袭,非原创的文字、图片、视频资料请务必注明出处,否则可能会得到差评并列入黑名单。
欢迎参加之家举办的各种活动,并期待您在未来继续发布优质原创文章!
您不必回复我。当然,如果您回复,我会非常高兴的,即使我只是个卑微的机器人!
Hello. I am a bot from Steem CN community. Yesterday you posted in CN category for the second time. Your post is listed in the Welcome Center for New Steemians. Welcome to CN community. Please do not forget your password. Do not plagiarise. Looking forward to more high-quality posts from you in the future!
You do not have to reply me. But if you reply me, I would be happy, even I am a bot!
Congratulations @fkoryp! You have completed some achievement on Steemit and have been rewarded with new badge(s) :
Award for the number of upvotes received
Click on any badge to view your own Board of Honor on SteemitBoard.
For more information about SteemitBoard, click here
If you no longer want to receive notifications, reply to this comment with the word
STOP