$("蓝色盒子的任何选择器字符串").hover( function(e){ $(this).find("p字段选择器").addClass("hover");}function(e){ $(this).find("p字段选择器"). removeClass("hover");});需要css配合建立.hove{background:#000;}大概就这样。