摘要:六:事件处理hover(Function, Function) 当鼠标move over时触发第一个function,当鼠标move out时触发第二个function样式:<style>.red{color:#FF0000}</style>Html代码: <div id="a">sdf</div>jQuery代码及效果$(function(){ $("#a").hover(function(){$(this).addClass("red");},function(){ $(this).
阅读全文
posted @ 2011-08-31 17:45
浙公网安备 33010602011771号