While clicking tr checkbox should be clicked

While clicking tr checkbox should be clicked

I have some problem with this simple script:)

I'm using jQuery 1.3.2

When I click on tr, alert says "false". But when I click on checkbox alerts says "true". I need alert to say equal value each time. How to do it?

CODE:

   
  1.  <table class="b-tech-properties">
    <tr id="option-12">
    <td><input type="checkbox"/></td>
    <th scope="row">Аккумулятор Bosch</th>
    <td class="option-price">350,00$</td>
    </tr>
    </table>





   
  1. $(function() {
    $('.b-options-table input[type="checkbox"]').bind('click', function(event) {
    event.stopPropagation();
    alert(this.checked);
    });
    $('.b-options-table tr').click(function(event) {
    if (event.target.type !== 'checkbox') {
    $(':checkbox', this).click();
    }
    });
    });









What I'm doing wrong?