javascript cetak
console.log("Who's Joe?")
Ruukasu
console.log("Who's Joe?")
console.log("print")
//or
alert("Print")
document.write("Hello world");
console.log('text here')
console.log("Your text")
<form method="post" action="#" id="printJS-form">
...
</form>
<button type="button" onclick="printJS('printJS-form', 'html')">
Print Form
</button>