https://stackoverflow.com/questions/34453685/how-to-use-confirm-alert-and-return-an-ajax-promise
https://stackoverflow.com/questions/22684242/can-bootbox-confirm-work-synchronously
$('#dropDownId').val();To get the currently selected text:
$('#dropDownId :selected').text();
$('input:radio[name=rblist"]').each(function(){ if ($(this).is(':checked')) { rb_value = $(this).val(); console.log("Selected rb value = " + rb_value); } });
if ($('#order_use_billing').is(':checked')){
}
$('[name=use_existing_billing_address]:radio').change(function(){
if ($('[name=use_existing_billing_address]:checked').val() == 'yes') {
}
else {
}
}