JSFiddle - React, Tailwind, and code Playground

by TJ VanToll

HTML

<link rel="stylesheet" href="http://code.jquery.com/ui/jquery-ui-git.css">
<script src="http://code.jquery.com/ui/jquery-ui-git.js"></script>
<input id="tooltip" title="tooltip">

JavaScript

var tooltip = $( "#tooltip" )
    .tooltip()
    .tooltip( "open" )
    .attr( "title", "" )
    .tooltip( "close" );

// The title attribute, which was set to an empty string,
// is restored when the tooltip is closed.
$( "body" ).append( tooltip.attr( "title" ) );