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 double click on text boxes also it is going to another page so,i need to disable mouse clicks on this text boxes and also used tr for header and another tr for data.when i click tr header also it should n’t work.
Note:
i have many text boxes so making each one double click mouse disabling is n’t good solut.If i click row with data alone that double click should work.
add a
class='myClickDisabledElm'to all DOM elements whose clicks you want to stop.now javascript
Edit
Since you are more concerned abt double click you may use
dblclickin place ofclick