Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

when i print i want print button to dissapear

Status
Not open for further replies.

andycape

Programmer
Aug 22, 2003
177
ZA
is there a way that when i print i can make the button i am using to print dissapear so that it will not show up on the printed document ?

thanx.
 
i dont really mind what i use, but probably something like "javascript:window.print()"

I want to click the button to print, but then it must not be visable on the printed document.
 
See answer here: thread216-637504

Programming today is a race between software engineers striving to build better and bigger idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. - Rick Cook
 
Or here: thread333-637501


01000111 01101111 01110100 00100000 01000011 01101111 01100110 01100110 01100101 01100101 00111111
The never-completed website:
 
fellows i have a doubt. suppose i give the print command and using DOM i delete the input button then what will happen?

Known is handfull, Unknown is worldfull
 
That would prevent you from clicking it again - that's all. If you put the print command AFTER you removed it, it won't print (but not if you print then remove it - no use)

Programming today is a race between software engineers striving to build better and bigger idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. - Rick Cook
 
thanks...

thats what i thught too... is there any way to find whether the user didi really print the file?

Known is handfull, Unknown is worldfull
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top