JSFiddle - React, Tailwind, and code Playground

HTML

<table><tbody>
    <tr id="a">
        <td>
            <select name="task_exec_platform" />
        </td>
        <td>
            <input type="file" name="task_exec_config_2"/>
        </td>
        <td>
            <input type="file" name="task_exec_2"/>
        </td>
        <td>
            <a onclick="deleteTaskExecRow('#upload_row_2')"/>
        </td>
    </tr>
    <tr id="b">
        <td>
            <select name="task_exec_platform" />
        </td>
        <td>
            <input type="file" name="task_exec_config_1"/>
        </td>
        <td>
            <input type="file" name="task_exec_2"/>
        </td>
        <td>
            <a onclick="deleteTaskExecRow('#upload_row_1')"/>
        </td>
    </tr>
    <tr id="c">
        <td>
            <select name="task_exec_platform" />
        </td>
        <td>
            <input type="file" name="task_exec_config_2"/>
        </td>
        <td>
            <input type="file" name="task_exec_2"/>
        </td>
        <td>
            <a onclick="deleteTaskExecRow('#upload_row_2')"/>
        </td>
    </tr>
    </tbody></table>

JavaScript

$('#a').nextAll().find(":nth-child(2) input").css( "background-color", "red" )