javascript - How to prevent a specified task from firing -


Everyone!

How can I stop a particular event (pill), when I element? I have a check box on the first cell of each line when I click on a cell, an event is called, which colors a row of the clicked cell in some color, it works great, However, whenever I click on a checkbox it is removed. I do not want to do this, I do not want this checkbox to affect the table in any way. I want to do this via Javascript and, preferably, jQuery. Any recommendations?

You can use e.stopPropagation () to prevent the occurrence Bubling for parental elements

  $ ('# Table IDIR TR input [type = "checkbox"]'). Click (function (e) {e.stopPropagation ();});  

Comments