JSFiddle - React, Tailwind, and code Playground

by Brad Christie

HTML

<div>
    <input type="radio" />
    <select>
        <option>----</option>
        <option>foo</option>
        <option>bar</option>
    </select>
</div>

JavaScript

$('select').change(function(){
    $(this).siblings('input:radio').attr('checked','checked');
});