JSFiddle - React, Tailwind, and code Playground

by wookiehangover

HTML

<select>
    <option selected="SELECTED" value="crap ">crap</option>
    <option value="shit ">shit</option>
<select>

JavaScript

var shiiiiiit = $('select'),
    x = 0;

shiiiiiit.change(function(){
    $('body').append(shiiiiiit.val());
}).trigger('change');


function doShit(){
    shiiiiiit.trigger('change');
    x += 1;
    if(x < 100) setTimeout(doShit, 200);
}

doShit();