js为某个元素添加某个类,并为其他兄弟元素删除此类

$(this).addClass("in_date").siblings().removeClass("in_date");

原文地址:https://www.cnblogs.com/zhaochx/p/4987687.html