能将下面的jQuery代码转换为Ajax吗?
<script type="text/javascript">
$j(document).ready(function () {
$j("#co-shipping-method-form .buttons-set button.button").click(function () {
var shippingSelectedValue = $j("input[name='shipping_method']:checked").val();
if(shippingSelectedValue == 'freeshipping_freeshipping' ){
$j("#customtest_modal_id").show();
}
});
$j("a.reset-customtest").click(function () {
$j("#customtest_modal_id, #checkout-step-shipping_method").show();
$j("#checkout-step-payment").hide();
});
});
</script>