randomly select an option upon clicking a radiobutton - a tiny correction needed
what it does is randomly picks a car from one of two lists chosen by the user.
the only thing is that the choice does not get reflected in the select field.
how to make it happen?
EDIT for clarity
once you click your choice of the country, the code should display in the select field a randomised brand, which it doesnot. it shows always either chevrolet of ford - the first cars from the list.
another indication that not all is well is that the alert appears twice each time, while it should only once.