<select name="docorderproduct_set-0-pack" id="id_docorderproduct_set-0-pack">
<option value="" selected>---------</option>
<option value="1">Мигдаль 1 кг </option>
</select>
pack = document.getElementById("id_docorderproduct_set-0-pack").selectedOptions[0].value