Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jquery/88.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript Jquery表操作_Javascript_Jquery - Fatal编程技术网

Javascript Jquery表操作

Javascript Jquery表操作,javascript,jquery,Javascript,Jquery,如何排除我在下面创建的jquery的click事件上的第一个td? 我想排除生成对话框的单击事件上所有第一行的td jQuery("#list tbody tr").click(function(){ //some code here }); <table> <tr> <td>first</td> <td></td> <td></td>

如何排除我在下面创建的jquery的click事件上的第一个td? 我想排除生成对话框的单击事件上所有第一行的td

jQuery("#list tbody tr").click(function(){

//some code here

});

<table>
    <tr>
        <td>first</td>
        <td></td>
        <td></td>
    </tr>
    <tr>
        <td>first</td>
        <td></td>
        <td></td>
    </tr>
</table>
jQuery(#list tbody tr”)。单击(函数(){
//这里有一些代码
});
第一
第一
尽管您发布的html不包含
#列表
。我假设这存在于真实页面中。

我的jquery(this)不返回任何内容。
jQuery("#list td").not(":first-child").click(function(){