JSFiddle - React, Tailwind, and code Playground

HTML

<div class="some_class">
    <div class="some_classs">
        <table class="some_class2">
            <tr>
                <td><select><option>Селект в таблице</option></select></td>
            </tr>
        </table>
    </div>
    <select><option>Селект вне таблицы</option></select>
</div>

JavaScript

$('table select option').html("Изменяем селекты только в таблице");