$(".agree-condition").text("I agree to receive information regarding my submitted enquiry "); $(".reg_field_batch_applying_for_div").hide(); function showandhide(){ var uUdVal = $("#UniversityId option:selected").val(); var courseval =$("#CourseId option:selected").val(); if (uUdVal == "55527"){ if (courseval == "46438"){ $('#FieldBatchApplyingFor option[value=135421], #FieldBatchApplyingFor option[value="312775"] ,#FieldBatchApplyingFor option[value="316138"],#FieldBatchApplyingFor option[value="185348"],#FieldBatchApplyingFor option[value="316131"],#FieldBatchApplyingFor option[value="185349"],#FieldBatchApplyingFor option[value="316130"],#FieldBatchApplyingFor option[value="135419"],#FieldBatchApplyingFor option[value="135420"],#FieldBatchApplyingFor option[value="135421"]').prop('disabled',true).hide(); $("#FieldBatchApplyingFor").val(""); $(".reg_field_batch_applying_for_div").show(); } else if (courseval == "46439"){ $("#FieldBatchApplyingFor option[value=135421]").prop("selected", true); $(".reg_field_batch_applying_for_div").hide(); } else if (courseval == "49804"){ $("#FieldBatchApplyingFor option[value=135419]").prop("selected", true); $(".reg_field_batch_applying_for_div").hide(); } else if (courseval == "46440"){ $("#FieldBatchApplyingFor option[value=135421]").prop("selected", true); $(".reg_field_batch_applying_for_div").hide(); } else if (courseval == "46453"){ $("#FieldBatchApplyingFor option[value=135421]").prop('disabled',true).hide(); $("#FieldBatchApplyingFor").val(""); $(".reg_field_batch_applying_for_div").show(); } } else if (uUdVal == "55529"){ if (courseval == "46445"){ $("#FieldBatchApplyingFor option[value=135421]").prop("selected", true); $(".reg_field_batch_applying_for_div").hide(); } else if (courseval == "77681"){ $("#FieldBatchApplyingFor option[value=135421]").prop("selected", true); $(".reg_field_batch_applying_for_div").hide(); } else if (courseval == "80640"){ $("#FieldBatchApplyingFor option[value=135421]").prop('disabled',true).hide(); $("#FieldBatchApplyingFor").val(""); $(".reg_field_batch_applying_for_div").show(); } } else if(uUdVal == "55528") { if (courseval == "46465"){ $("#FieldBatchApplyingFor option[value=135421]").prop("selected", true); $(".reg_field_batch_applying_for_div").hide(); } else if (courseval == "46447"){ $("#FieldBatchApplyingFor option[value=135421]").prop("selected", true); $(".reg_field_batch_applying_for_div").hide(); } else if (courseval == "46450"){ $("#FieldBatchApplyingFor option[value=135421]").prop("selected", true); $(".reg_field_batch_applying_for_div").hide(); } else if (courseval == "46449"){ $("#FieldBatchApplyingFor option[value=135421]").prop('disabled',true).hide(); $("#FieldBatchApplyingFor").val(""); $(".reg_field_batch_applying_for_div").show(); } } else if(uUdVal == "55526") { if (courseval == "46441"){ $("#FieldBatchApplyingFor option[value=135421]").prop("selected", true); $(".reg_field_batch_applying_for_div").hide(); } else if (courseval == "46443"){ $("#FieldBatchApplyingFor option[value=135421]").prop("selected", true); $(".reg_field_batch_applying_for_div").hide(); } } } $('#UniversityId').change(function(){ $('#CourseId').change(function(){ showandhide(); }); }); $(document).ajaxStop(function(){ showandhide(); }); $( ".button-holder" ).append('

ADMISSION ENQUIRY
admissions@alliance.edu.in
Helpline: +919886002500 / +919620009825

');