<select name="type_account"> <option label="" value=""></option> <option label="букет 1" value="4">букет 1</option> <option label="букет 2" value="2">букет 2</option> <option label="букет 3" value="1" selected="selected">букет 3</option> <option label="букет 4" value="3">букет 4</option> </select> 

Actually, you need to add select 'with c name="type_account" id=buket , and then on this id set the default option to букет 3 ( selected )

    1 answer 1

    The question is not quite clear, if you want to control the value of the select element with this ID, then you can do it like this:

     document.querySelector('select[name="type_account"]').id = "buket"; document.getElementById("buket").value = 1; // букет 3