jeudi 29 décembre 2016

Allow onclick event on TR element but prevent the event in the checkbox

How can I allow onClick event on TR element but prevent the event in the checkbox? The checkboxes are children of TDs of TRs in table.

What I did in this problem is adding onClick on all TDs but not in the TDs of the checkbox.

Is there a better approach for this problem?




Aucun commentaire:

Enregistrer un commentaire