Auto selection script in jQuery

Auto selection script in jQuery

I have a script which autocomplete my form but I have a problem. 3/4 part of form is normal field but country is to choose from list. This is selection list or something like that. I show part of my script.
  1. $('form[name=shippingForm] input').each(function() {
    switch (this.name.replace(/[^a-z0-9]+/ig, '')) {
    case 'state': this.value = 'PL'; break;

But how to write that will be choose country?
Maybe I will show part of html code from form site.
  1. <div id="countrySelector" class="ssClosed"> 
    <a href="#" id="countryClicker" onclick='showCountries(); return false;'><span class='si'>United States of America</span></a>
    <a href="#" onclick='selectCountry("PL", this); return false;'><span class='si'>Poland</span></a>




Please help me I'm newbie in this and dont know how to write it.