参考资料:

1. W3School在线教程:http://www.w3school.com.cn/jquery/attributes_addclass.asp

2. API中文文档:http://www.css88.com/jqapi-1.9/addClass/index.html


两种参数;用来添加CSS类名,常与.removeClass()一起使用。