I have a listbox in the follwing format (HTML):
<select class="select" name="passport" onchange="">
<option value="" selected>Select a country</option>
Now I have 5 categories of countries, example of category one below:
| Aruba | Australia | Austria | Belgium | Bermuda | Canada | Cayman Islands Channel Islands | Denmark | Finland | France | French Polynesia | Germany | Gibraltar Guam | Hong Kong | Iceland | Ireland | Italy | Japan | Kuwait | Liechtenstein | Luxembourg Monaco | Netherlands | Norway | Qatar | San Marino | Singapore | Sweden | Switzerland UAE | United Kingdom | United States | Vatican
What i need to do is see if what the user selected in the drop down box is in one of the categories? Is there an easier way to do it other than 100's of If statements, if so how?