Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-hidden="true">
- ...
- </div>
- <script>
- if(window.location.hash) {
- var hash = window.location.hash;
- $("'" + hash + "'").modal('toggle');
- }
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement