on click disable function, else function works?
<p>I have a jQuery code here: </p>

<pre><code>jQuery(document).ready(function () {
    $("td").click(function (e) {
        var chk = $(this).closest("tr").find("input:checkbox").get(0);

        if (e.target != chk) {
            chk.checked = !chk.checked;
        }

        if ($(this).closest("tr").find("input:checkbox").is(":checked")) {
            $(this).closest("tr").css("font-weight", "bold");
        } else {
            $(this).closest("tr").css("font-weight", "");
        }
    });
});
</code></pre>

<p>As you can see I have a lot of checkboxes and on click on any <code>td</code> it's checked and adding css.</p>

<p>It works fine. What I want, is in the same form I also have a lot of <code>select</code> boxes.<br>
When I try to choose something the function works.<br>
I want to disable the function on click on the select box because I want to choose not to enable the checkbox.</p>
