i'm sort of new to jQuery, i need to create URLs based on a few things, first, 1 dropdown menu where i can select a region, depending on the region, the second dropdown needs to display countries in that region, each option of the second dropdown has a value that will be part of the URL, in this case, the language code and the country code, then selecting a list of links where each href attribute will be the last part of the URL, and show the final URL in a text or a paragraph
<select name="region" id="region">
<option value="none">Select a Region...</option>
<option value="europe">Europe</option>
<option value="asia">Asia</option>
<option value="americas">Americas</option>
</select>
<select name="countries" id="country">
<option value="none">Select a Country...</option>
<option value="africa/en" class="europe">Africa - English</option>
<option value="africa/fr" class="europe">Africa - French</option>
<option value="at/de" class="europe">Austria</option>
<option value="by/ru" class="europe">Belarus</option>
<option value="be/nl" class="europe">Belgium - Dutch</option>
<option value="bg/bg" class="europe">Bulgaria</option>
<option value="au/en" class="asia">Australia</option>
<option value="cn/zh" class="asia">China</option>
<option value="hk/zh" class="asia">Hong Kong - Chinese</option>
<option value="hk/en" class="asia">Hong Kong - English</option>
<option value="in/en" class="asia">India</option>
<option value="id/en" class="asia">Indonesia</option>
<option value="ca/fr" class="americas">Canada</option>
<option value="us/en" class="americas">US</option>
</select>
<div id="categories">
<ul style="float:left;width:230px;">
<li><a href="/shop/clothes/index.html" target="_blank">Clothes</a></li>
<li><a href="/shop/food/index.html" target="_blank">Food</a></li>
<li><a href="/shop/electronics/index.html" target="_blank">Electronics</a></li>
<li><a href="/shop/games/index.html" target="_blank">Video Games</a></li>
</ul>
clicking on the li
items should return the final URL, for example, selectin Americas, the second dropdown should only show Canada and US, and clicking on Clothes, a paragraph should appear and have "us/en/shop/clothes/index.html"
it would be great to have the actual page below these selections, i hope i was clear enough, thanks in advance.