I know what I need to do, it’s the doing, that is the problem.
This is what I have thus far
jQuery(document).ready(function(){
var optCountries = ["Austria", "Belgium", "Bulgaria", "Cyprus", "Czech Republic", "Denmark", "Estonia",
"Finland", "France", "French Guiana", "French Southern Territories", "Germany",
"Greece", "Hungary", "Ireland", "Isle of Man", "Italy", "Latvia", "Lithuania",
"Luxembourg", "Malta", "Netherlands", "Netherlands Antilles", "Poland", "Portugal",
"Romania", "Slovakia", "Slovenia", "Spain", "Sweden", "United Kingdom"];
var objCountry = $.makeArray(optCountries);
if($.inArray("Belgium", objCountry) > -1) $("#opt-section").show();
});
So how do I get the value of a select box called hqCountry in the if statement above where “Belgium” is, and get it to kick off with onchange?