|
|
|
|
@ -1,6 +1,6 @@ |
|
|
|
|
function dateCertificateSwitchRadioButton2(){ |
|
|
|
|
$("#date_start").prop("disabled", true).val(''); |
|
|
|
|
$("#date_end").prop("disabled", true).val(''); |
|
|
|
|
$("#date_start").prop("disabled", true).val(""); |
|
|
|
|
$("#date_end").prop("disabled", true).val(""); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
function dateCertificateSwitchRadioButton1(){ |
|
|
|
|
@ -14,21 +14,21 @@ function dateCertificateSwitchRadioButton0(){ |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
function typeDateExpedictionSwitchRadioButton(){ |
|
|
|
|
$('[name="type_date_expediction"]').each(function( index ) { |
|
|
|
|
if ( $(this).is(':checked') && $(this).val() == "2") { |
|
|
|
|
$("[name=\"type_date_expediction\"]").each(function( index ) { |
|
|
|
|
if ( $(this).is(":checked") && $(this).val() === "2") { |
|
|
|
|
$("#day, #month, #year").prop("disabled", false); |
|
|
|
|
} else { |
|
|
|
|
$("#day, #month, #year").prop('disabled', true); |
|
|
|
|
$("#day, #month, #year").prop("disabled", true); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
function contentsTypeSwitchRadioButton(){ |
|
|
|
|
$('[name="contents_type"]').each(function( index ) { |
|
|
|
|
if ( $(this).is(':checked') && $(this).val() == "2") { |
|
|
|
|
$("[name=\"contents_type\"]").each(function( index ) { |
|
|
|
|
if ( $(this).is(':checked') && $(this).val() === "2") { |
|
|
|
|
$("#contents").prop("disabled", false); |
|
|
|
|
} else { |
|
|
|
|
$("#contents").prop('disabled', true); |
|
|
|
|
$("#contents").prop("disabled", true); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
|