<script type="text/javascript">
?????$(function(){
$("h2").click(function(){
$(this).addClass("style2 style3");
});
$("h2").mouseout(function(){
$(this).removeClass("style1 style2");
});
?});
???</script>
jQuery动态追加去掉样式
原文地址:http://www.cnblogs.com/atlj/p/8047864.html