I'm using Bootstrap 3.0 and I have an open Modal window with two 'buttons' at the bottom, one says 'Contact Us' and the other says 'Close'.
When someone clicks the 'Contact Us' button I want the Modal window to close and the user to be automatically taken to a specific anchor on the same page.
The following doesn't work. It does scroll the page to the desired anchor, but the user can't see this because it doesn't close the modal window...
<a class="btn btn-info" data-dismiss="modal" href="#section-contact">Contact Us</a>
data-dismiss
attribute handles the closing of modal on click. bootply.com/67046 Does your console show any error?