function pickupOrDeliveryIsSelected(){
        var radioValue = $("input[name='inlineDefaultRadiosExample']:checked").val();
        if(radioValue == "delivery" || radioValue == "pick-up"){
            return true;
        }
        else{
            return false;
        }
    }
// checks if either Pick Up or Delivery option is selected
checks if either Pick Up or Delivery option is selected
checks if either Pick Up or Delivery option is selected
function pickupOrDeliveryIsSelected(){
        var radioValue = $("input[name='inlineDefaultRadiosExample']:checked").val();
        if(radioValue == "delivery" || radioValue == "pick-up"){
            return true;
        }
        else{
            return false;
        }
    }
function pickupOrDeliveryIsSelected ( ) { var radioValue = $ ( "input[name='inlineDefaultRadiosExample']:checked" ) . val ( ) ; if ( radioValue == "delivery" || radioValue == "pick-up" ) { return true ; } else { return false ; } }
checks if either Pick Up or Delivery option is selected
checks if either Pick Up or Delivery option is selected