JSFiddle - React, Tailwind, and code Playground

HTML

<td>Email: Yes?<input type="radio" name="emailquest" value="true" checked>No?<input type="radio" name="emailquest" value="false"></td>
                                <td><input type="text" name="email"></td>

JavaScript

$("input[name='emailquest']").change(function(){
    if (this.value != "true") { // <----I would probably change this to look for this.checked
        $("input[name='email']").prop("disabled", true);
    } else {
        $("input[name='email']").prop("disabled", false);
    }
});