Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ssl/3.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
Jquery 如何禁用双击表格行_Jquery - Fatal编程技术网

Jquery 如何禁用双击表格行

Jquery 如何禁用双击表格行,jquery,Jquery,我有特定行的datagrid。我只是想禁用使用jQuery双击表行。如何实施它做好这一点: $('tr').dblclick(function(){ return false; // does both event.stopPropogation as well as event.preventDefault });

我有特定行的datagrid。我只是想禁用使用jQuery双击表行。如何实施它

做好这一点:

$('tr').dblclick(function(){
   return false; // does both event.stopPropogation as well as event.preventDefault
});