<select name="address[country]" id="address_country"> <option value="CA">Canada</option> <option value="US">United States</option> <option disabled="disabled">------------</option> <option value="UK">United Kingdom</option> </select> <script type="text/javascript">Event.observe("address_country", "change", function(){ shownameList();});
function shownameList(){ var country = $F('address_country'); alert(country) } </script> when I chosed United Kingdom or Canada, There always said "US". Why? who can Help me? Please! and Thanks!