Answer the question
In order to leave comments, you need to log in
Problems with the page print button, what should I do?
The problem is that there is a site on bootstrap 3 on the site a modal window that displays information from the database.
In the modal window, the print button, I thought that the print would be only a modal window, but it prints the entire page (( how to do it, tell me, gentlemen, pros!))
Button code
<div class="btn-group">
<a href="javascript:window.print(); void 0;" class="btn btn-danger"><i class="glyphicon glyphicon-print"></i></a></div>
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
</div><!-- /.modal-content -->
</div><!-- /.modal-dalog -->
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question