mirror of
https://github.com/aljazceru/securedorg.github.io.git
synced 2026-01-03 22:34:28 +01:00
updating mistakes
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user