I'm look for a way I can have a list of countries using ... so when you click on a link, the country code parameter is passed over to qjuery which will inturn return a list of cities.
I have been able to do all this using a dropdown, but want to change it to a.href links.
Something like the below...
$('#country').click(function(event) {
// get the countryCode value here
var $country=$("a#country").val();
...
These need to pass countryCode
<a href="#" id="country">Australia</a>
<a href="#" id="country">United Kingdom</a>
<a href="#" id="country">NewZealand</a>