The selection form consists of the choice of the operator and the amount. For example
СТРАНА: НОМЕР: ID: Россия 8503 1 3353 2 Украина 2855 1 3855 2
There is a drop-down list, and a radio button, how can you make it so that when choosing a country and a radio butane id the number 1 or 2 is displayed?
<select id="country_id" name="country" onchange="show_country()"> <option value="1">Россия</option> <option value="2">Украина</option> </select> <input name="tariff" type="radio" onSelect="" value="" checked /> <input name="tariff2" type="radio" onSelect="" value="" /> function show_country() { var countryId = ge('country_id').value; var short_number_one = ["","8503","2855"]; var short_number_one = ["","3353","3855"]; ge('number').innerHTML = short_number[countryId]; } Т