<button class="fbutton btn pull-right filterevents " id="one" >School Events</button>
<button class="fbutton btn pull-right filterevents" id="two" >Zone Events</button>
<button class="fbutton btn pull-right filterevents" id="three" >My Events</button>
单击
时如何在每个按钮上添加课程答案 0 :(得分:0)
$(".fbutton").click(function (e) {
$(this).addClass("fcurrent").siblings().removeClass("fcurrent");
});