JSFiddle - React, Tailwind, and code Playground

by amirshim

JavaScript

$(function() {
    var ts = $('<span class="ui-helper-hidden">&nbsp;</span>');
    $("body").append(ts).append('<br/>');

    var aaa = function() {
        var isV = ts.is(":visible")?1:2;
        $("body").append(isV).append('<br/>');
        if(isV == 1) setTimeout(aaa,1);
    }
    
    aaa();    
    
    var url="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.14/themes/ui-lightness/jquery-ui.css";
    
$("head").append("<link>");
    css = $("head").children(":last");
    css.attr({
      rel:  "stylesheet",
      type: "text/css",
      href: url
    });    
    
    

        
    
    
    
    //
    
    
});