I am trying to make it so when they click on a <tr> it will open up a dialog which works just fine. However within this <tr> I have an input check box that I need to allow them to click on without opening up the dialog. How is this possible?
$('#messageContainer tr').click(function () {
var masterMessageID = $(this).attr('messageID');
var replyToID = $(this).attr('replyToID');
buildDialog(this.id, masterMessageID, replyToID);
$(this).removeClass('messageNew');
});
HTML:
<tr replytoid="3" messageid="7078" id="16">
<td> <input type="checkbox" name="checkAll"></td>
<td>John Doe</td>
<td>sdfsdf</td>
<td>3/14/2012 1:29:47 PM</td>
</tr>