发布网友
共2个回答
热心网友
$('#nw').hover(
function(){$(this).css('background','red')}, //鼠标移入
function(){$(this).css('background','black')} //鼠标移出
);
热心网友
$("id").moveover($("id").css("background","red"));//red用#什么东西的替换
$("id").moveout($("id").css("background","black"));