Answer the question
In order to leave comments, you need to log in
How to close modal window on bootstrap?
Good day!
On the site ashtest.pp.ua, on the button "Calculate cost" in the bootstrap modal window, a calculator form appears.
After the calculation, it is possible to print the result. with this script
function printDiv(divName) {
var printContents = document.getElementById(divName).innerHTML;
var originalContents = document.body.innerHTML;
document.body.innerHTML = printContents;
window.print();
document.body.innerHTML = originalContents;}
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
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