JSFiddle - React, Tailwind, and code Playground
HTML
<div id= "menuDiv" style="width:80%; background:yellow; display:block;">asdasd</div>
<div id- "contentDiv" style="width:100%; background:green; hight:50%;">here is the content</div>
<button id="btn">show Hide</button>
JavaScript
jQuery('#btn').live('click', function (event) {
$('#menuDiv').toggle('hide');
var status = $('#menuDiv').is(":visible");
alert(status);
});