My change function allows users to switch from country to country and get different text and features. It works when changing country selections. But at initial page load, it do
function onChange ()
{
switch ($('input[name=country]:checked').val())
....
}
$('input[name=country]').change(onChange); // 1. attach it as event handler.
onChange(); // 2. call it first time.