V
V
Vladimir2015-01-02 19:55:27
PHP
Vladimir, 2015-01-02 19:55:27

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>

Modal window structure:
<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

1 answer(s)
4
4ikist, 2015-01-02
@4ikist

habrahabr.ru/post/160997

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question