if(num_click_chekbox <= 0) var num_click_chekbox = 0;
$('input#delivery_option_66_0').on('click', function() {
if(num_click_checkbox == 3) {
$('.form-courier').hide();
}
else if(num_click_checkbox == 2) {
$('.form-justin').hide();
}
$('.hook_extracarrier').show();
num_click_chekbox = 1;
});
$('input#delivery_option_66_1').on('click', function() {
if(num_click_checkbox == 1) {
$('.hook_extracarrier').hide();
}
else if(num_click_checkbox == 3) {
$('.form-courier').hide();
}
$('.form-justin').show();
num_click_checkbox = 2;
});
$('input#delivery_option_66_2').on('click', function() {
if(num_click_checkbox == 1) {
$('.hook_extracarrier').hide();
}
else if(num_click_checkbox == 2) {
$('.form-justin').hide();
}
$('.form-courier').show();
num_click_checkbox = 3;
});
Ошибка global.js:110 Uncaught ReferenceError: num_click_checkbox is not defined
at HTMLInputElement. (global.js:110)