Welcome visitor
* Login
* Register
It is currently March 18th, 2019, 3:23 pm
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Client Side » JavaScript



Post new topic Reply to topic  [ 2 posts ] 
Author Message
  print the document
PostPosted: April 2nd, 2009, 1:05 am 
User avatar

Posts: 56
Hi, i have disabled the toolbars of the newWindow and want to give the user the option to print the content, how can i create a print button or unhide the default one?


Top
 Profile  
 
  Re: print the document
PostPosted: April 2nd, 2009, 1:10 am 
User avatar

Posts: 136
<scritpt>
function printbtt(prBt){
document.getElementById(prBt).style.display="none";
window.print();
}
</script>
<input type="button" id="prBt" onclick="printbtt(id)" value="PRINT!">


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

FORUMS » Client Side » JavaScript


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron