JSFiddle - React, Tailwind, and code Playground

by senoramor

HTML

<select id="makeselection">
    <option value="Please Enter">Please Enter</option>
    <option value="Don't Enter" selected="selected">Don't Enter</option>
</select>

JavaScript

$('#makeselection').val("Please Enter").attr('selected', 'selected');