i'm working on a page in wordpress with the Bootstrap theme. there is a modal window on page load having a registration form on it.user can not see the content without filing the form.my problem is that whenevr user comes back to that page it shows the modal window,and i want to restrict that to once for a user.How can i achieve that.
Here is my Js for modal:
<script type="text/javascript">
jQuery(document).ready(function($) {
    $('#DownloadSignup').modal('show');
});
</script>
Here is what i have tried but its not working:
<script>
jQuery(document).ready(function($) {
    var isshow = localStorage.getItem('status');
  // alert(isshow);
    if (isshow == null) {
        localStorage.setItem('isshow', 1);
        // Show popup here
        $('#DownloadSignup').modal('show');
    } else if(isshow != null) {
       $('#DownloadSignup').modal('hide');
    }
});
</script>
 
     
     
     
     
     
     
    