Disable mouse double click using javascript or jquery

前端 未结 5 2003
借酒劲吻你
借酒劲吻你 2021-01-05 07:17

I have a form in which i have some text boxes and below to it there is a table.When i double click on table row it takes me to another page.

Now the problem is if i

5条回答
  •  醉梦人生
    2021-01-05 07:49

    If you want to disable any mouse click action use addEventListener(event, function, useCapture) .

    Onclick ,call this function.

    For more refer here.: https://www.w3schools.com/jsref/met_element_addeventlistener.asp

提交回复
热议问题