JSFiddle - React, Tailwind, and code Playground
HTML
<script src=" $(document).ready(function() { // enable form tips $('form input.help, form textarea.help').formtips({ tippedClass: 'tipped' }); }); </script>"></script>
Comments:<br />
<p><textarea name="issue" id="issue_ta" cols="50" rows="10" class="help" tabindex="2" title="Enter Detailed Description" onblur="enable_cb(this);"></textarea></p>
<p><input name="no_issue" type="checkbox" id="no_issue" class="cmb" />No Issues to Report</p>
<p class="label">Enter Current Vehicle Mileage:</p>
<p><input type="tel" name="record_mileage" class="required" tabindex="3" title=" Enter Current Mileage " size="25"/></p>
<p><input type="submit" name="Submit" value="Send"/></p>
</form>
JavaScript
function enable_cb(textarea) {
if ($(textarea).val() !== "") {
$("input.cmb").prop("disabled", true);
}
else {
$("input.cmb").prop("disabled", false);
}
}