<select id="inp" class="form-control mr-sm-2 ml-3" oninput="alert(`oniput нужен ${inp.value}`) "> <option value="1">ИП</option> <option value="2">OOO</option </select>