Javascript 假设我有一个HTML表。我如何在这台机器上使用JQuery事件?

Javascript 假设我有一个HTML表。我如何在这台机器上使用JQuery事件?,javascript,jquery,Javascript,Jquery,使用mouseenter和mouseleave事件 $(".ep").hover(function(){ $(this).find('td.playButtonCol').html('PLAY'); },function(){ $(this).find('td.playButtonCol').html(''); }); 使用mouseenter和mouseleave事件 $(".ep").hover(function(){

使用
mouseenter
mouseleave
事件

  $(".ep").hover(function(){
        $(this).find('td.playButtonCol').html('PLAY');
    },function(){
        $(this).find('td.playButtonCol').html('');
    });

使用
mouseenter
mouseleave
事件

  $(".ep").hover(function(){
        $(this).find('td.playButtonCol').html('PLAY');
    },function(){
        $(this).find('td.playButtonCol').html('');
    });

你的意思是这样的

$('.col1').mouseenter(function(){ ... });
$('.col1').mouseleave(function(){ ... });

你的意思是这样的

$('.col1').mouseenter(function(){ ... });
$('.col1').mouseleave(function(){ ... });

您的问题有点模糊,但如果我理解正确,您希望将鼠标悬停在一行上,并在该行的某个特定单元格中输入值。如果是这样,那就相对容易了:

    $(".col1").hover(
function(){
 $(this).html = ('abc');
    )};

您的问题有点模糊,但如果我理解正确,您希望将鼠标悬停在一行上,并在该行的某个特定单元格中输入值。如果是这样,那就相对容易了:

    $(".col1").hover(
function(){
 $(this).html = ('abc');
    )};