diff --git a/public/index.html b/public/index.html index 0a4801d..f103cb1 100644 --- a/public/index.html +++ b/public/index.html @@ -53,7 +53,11 @@

-

Results

+

Results + +

diff --git a/public/js/script.js b/public/js/script.js index 89d7fc2..4de9885 100644 --- a/public/js/script.js +++ b/public/js/script.js @@ -55,7 +55,15 @@ $(document).ready(function() { $('#test-clear').click(function() { $('#results-table tbody').empty(); $('#test-table tbody').empty(); - }) + }); + + $('#print-button').click(function() { + var currentPage = document.body.innerHTML; + var printable = document.getElementById("step3").innerHTML; + document.body.innerHTML = printable; + window.print(); + document.body.innerHTML = currentPage; + }); }); });