Currently I use one button to display a side menu and another to close it
Just make a class to show the menu and toggle this class on button click...!
$('#open-menu').click(function() { $("#mySidenav").toggleClass('show') });
#mySidenav {background: red; height: 100px; display: none;} .show {display: block !important;}
Menu