jquery 之 $().hover(func1, funct2)使用方法

2020-05-16 18:42:59易采站长站整理

$(“<SPAN style=”COLOR: #0000ff”>.water</SPAN>”).<SPAN style=”COLOR: #800080″>hover</SPAN>(
function (){
$(this).<SPAN style=”COLOR: #800080″>find</SPAN>(“<SPAN style=”COLOR: #0000ff”>.action</SPAN>”).show();
},
function (){
$(this).<SPAN style=”COLOR: #800080″>find</SPAN>(“<SPAN style=”COLOR: #0000ff”>.action</SPAN>”).hide();
}
)
</script>
</body>