JSFiddle - React, Tailwind, and code Playground

by ebiewener

HTML

<select>
    <option>Choose Something</option>
    <option>1</option>
    <option>2</option>
    <option>3</option>
</select>
<input type="button" value="clear" />

JavaScript

$('input[type=button]').click(function(){
    $('select').children(':first').attr('selected','selected');
});