onclick イベントがある INPUT があります
<input type="radio" name="shipment" value="1" onclick="if (this.checked) $('#total').html(2);" style="display: none; ">
および A 要素
<a class="shipment">shipment</a>
とjqueryコード
$('.shipment').live('click', function () {
$(this).prev('input[type="radio"]').click(); // input field is checked, but onclick not working
}
入力でオンラインスクリプトを呼び出す方法は?