Adding and Removing a HTML Class
by 蘇德宙, 2010-04-08 19:40, 人氣(1792)
<style>
a.test { font-weight: bold; }
</style>
a.test { font-weight: bold; }
</style>
$("a").addClass("test");
$("a").removeClass("test");