}
}, 300);
});
jQuery('body').on('change', '#subjectc select', function() {
console.log('#'+jQuery('#subjectc select').val());
jQuery('#'+jQuery('#subjectc select').val()+' a:first').click();
jQuery('#detailsfinal').html(jQuery('.list_level_3.open .ul_level_4').html());
});
jQuery('body').on('change', '#subjectc select', function() {
jQuery('#subjectd').html('');
jQuery('#subjecte').html('');
jQuery('#'+jQuery('#subjectc select').val()+' a:first').click();
setTimeout(function(){
var $listd = jQuery('.list_level_3.open .ul_level_4'),
$selectd = jQuery('
');
$selectd.append(jQuery('
').attr('value', '').html('Please select'));
var doned = 0;
$listd.children('.open .list_level_1.open li.list_level_4').each(function(index) {
doned++;
if(doned==1){
$selectd.append(jQuery('
').attr('value', jQuery(this).attr('id')).html(jQuery(this).find('a:first').text()));
}
});
if(doned==0){
jQuery('#detailsfinal').html(jQuery('.list_level_3.open .ul_level_4').html());
}else {
jQuery('#subjectd').html($selectd);
}
}, 300);
});
jQuery('body').on('change', '#subjectd select', function() {
jQuery('#subjecte').html('');
jQuery('#'+jQuery('#subjectd select').val()+' a:first').click();
setTimeout(function(){
var $liste = jQuery('.list_level_4.open .ul_level_5'),
$selecte = jQuery('
');
var donee = 0;
$selecte.append(jQuery('
').attr('value', '').html('Please select'));
$liste.children('.open .list_level_1.open li.list_level_5').each(function(index) {
donee++;
if(donee==1){
$selecte.append(jQuery('
').attr('value', jQuery(this).attr('id')).html(jQuery(this).find('a:first').text()));
}
});
if(donee==0){
jQuery('#detailsfinal').html(jQuery('.list_level_4.open .ul_level_5').html());
} else {
jQuery('#subjecte').html($selecte);
}
}, 300);
});
jQuery('body').on('change', '#subjecte select', function() {
jQuery('#'+jQuery('#subjecte select').val()+' a:first').click();
setTimeout(function(){
var $listf = jQuery('.list_level_5.open .ul_level_6'),
$selectf = jQuery('
');
var donef = 0;
$selectf.append(jQuery('
').attr('value', '').html('Please select'));
$listf.children('.open .list_level_1.open li.list_level_6').each(function(index) {
donef++;
if(donef==1){
$selectf.append(jQuery('
').attr('value', jQuery(this).attr('id')).html(jQuery(this).find('a:first').text()));
}
});
if(donef==0){
jQuery('#detailsfinal').html(jQuery('.list_level_5.open .ul_level_6').html());
} else {
jQuery('#subjectf').html($selecte);
}
}, 300);
});
Subscribe