0
<div class="modal fade" id="addhor" role="dialog" >
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h4>Adicionar Horário</h4>
</div>
<div class="modal-body">
<p>teste</p>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal-dialog -->
</div><!-- /.modal -->
I saw this example as modal in bootstrap, the modal opens but, does not work shows the content with a dark screen and when I click anywhere it closes. Someone could help me?
P.S.: Excuse the mistakes of Portuguese, my keyboard does not have accents
Calling the modal via Javascript:
$('#addhor').modal()
works smoothly. Can be more specific about the problem?– Zuul