jQuery: inline onclick
===

I've got a INPUT that has an onclick event in it

    <input type="radio" name="shipment" value="1" onclick="if (this.checked) $('#total').html(2);" style="display: none; ">

and A element

    <a class="shipment">shipment</a>

and jquery code

    $('.shipment').live('click', function () {
       $(this).prev('input[type="radio"]').click(); // input field is checked, but onclick not working
    }

how to call online script in input ?