New to jQuery, and have been struggling to work out how to compare a the value of a drop-down list to a variable.
The from allows user to pick from a list of schools (#dropDownSchool), they select one and then programmes (or courses) not offered at that school are removed from a second drop down (#dropDownProgramme)list.
The window.alert shows me the school the school code is being picked up okay, and if I replace school with actual string, e.g. as below - then it works fine - all items in the drop down with value's beginning with RACL are removed as desired.