ben-g
9/1/2017 - 7:16 PM

Remove program - multi step

Remove program - multi step

//Uses id rather than "validate" class to target second tier options and thier values.

//For removing a whole label and its contents:

$('form option:contains("Education")').remove();

//For removing individual programs:

$("#business option[value='3093'], #business option[value='3094'], #business  option[value='3095'], #business  option[value='3096'], #behavior option[value='3087'], #behavior option[value='3088'], #behavior option[value='3089'], #behavior option[value='3090'], #behavior option[value='3484'], #behavior option[value='3521'], #criminal option[value='3093'], #ministry option[value='3198'], #ministry option[value='3117'], #ministry option[value='3091']").each(function() {     $(this).remove(); });