JSFiddle - React, Tailwind, and code Playground

by Amitabha Ghosh

HTML

<div id='content'>Hello World</div>
<input type='button' id='hideshow' value='hide/show'>

JavaScript

jQuery(document).ready(function(){
    jQuery('#hideshow').live('click', function(event) {        
         jQuery('#content').toggle('show');
    });
});