how to print to screen in javascript
console.log("Hello World!");
alert("Console has been updated.");
how to print to screen in javascript
console.log("Hello World!");
alert("Console has been updated.");
how to code print in javascript
console.log("print")
//or
alert("Print")
print page using js
$('.print-btn').click(function(){
var printed_id = $(this).attr('data-id');
if( printed_id ){
var printed_content = $($('#' + printed_id).html());
$('body').children().css('display', 'none');
$('body').append(printed_content);
window.print();
printed_content.remove();
$('body').children().css('display', '');
}
});
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us