Skip to content
- Choosing a selection results in a full page refresh.
- Opens in a new window.
var secondOptionValue = $("select[name='variant_data'] option:eq(1)").val();
$('.pmpr_input[name="id"]').attr('value',secondOptionValue);
$('.product-variant-id').attr('value',secondOptionValue);
opacity: 0.7;
console.log("Second Option Value: " + secondOptionValue);
});
});