updating mistakes

This commit is contained in:
Amanda Rousseau
2017-03-27 11:30:36 -07:00
parent c65fa18f16
commit 245c9cf968
5 changed files with 6 additions and 18 deletions

View File

@@ -9,18 +9,6 @@
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script language="JavaScript">
$("#btnPrint").live("click", function () {
var divContents = $("#display").html();
var printWindow = window.open('', '', 'height=400,width=800');
printWindow.document.write('<html><head><title>Malware Analysis Report</title>');
printWindow.document.write('</head><body >');
printWindow.document.write(divContents);
printWindow.document.write('</body></html>');
printWindow.document.close();
printWindow.print();
});
function showInput() {
document.getElementById('display').innerHTML =
@@ -127,7 +115,7 @@ IP address</small></p>
<p><label>Your Report: </label></p>
<hr>
<p><span id='display'></span></p>
<p><input type="button" value="Print PDF Report" id="btnPrint" /></p>
</script>