2021-03-22 05:43:02 +00:00
|
|
|
function val() {
|
|
|
|
w = document.getElementById("w-select");
|
|
|
|
w.value = '';
|
2021-03-22 06:15:01 +00:00
|
|
|
w.required = "";
|
2021-03-22 05:43:02 +00:00
|
|
|
}
|
|
|
|
function val2() {
|
|
|
|
a = document.getElementById("a-select");
|
|
|
|
a.value = '';
|
2021-03-22 06:15:01 +00:00
|
|
|
a.required = "";
|
2021-03-22 05:43:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
$(document).ready(function () {
|
|
|
|
$('.form-text').hide();
|
|
|
|
$('.help').click(function () {
|
|
|
|
$('.form-text').slideToggle();
|
|
|
|
});
|
|
|
|
|
|
|
|
$('#op1').val(this.checked);
|
|
|
|
$('#op1').change(function () {
|
|
|
|
if (this.checked) {
|
|
|
|
$('option[disabled="disabled"]').hide();
|
|
|
|
} else {
|
|
|
|
$('option[disabled="disabled"]').show();
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|