JSFiddle - React, Tailwind, and code Playground

by dochoffiday

HTML

<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.7/themes/blitzer/jquery-ui.css">
<button id="one">one</button>
<button id="two">two</button>
<button id="three">three</button>

JavaScript

$("#one").button().addClass('ui-state-error');
$("#two").button().addClass('ui-state-highlight');
$("#three").button();