Welcome visitor
* Login
* Register
It is currently July 19th, 2019, 2:14 pm
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Client Side » HTML



Post new topic Reply to topic  [ 2 posts ] 
Author Message
  How to print a form on submit?
PostPosted: October 22nd, 2009, 2:37 am 

Posts: 65
I have a form on an intranet on the office and we would like to print it when we submit it, is there a way to do it automatically?

I've tried something but isn't working
<form onsubmit="this.print();">


Any help is appreciated.


Top
 Profile  
 
  Re: How to print a form on submit?
PostPosted: October 22nd, 2009, 3:24 am 

Posts: 117
Just remove the document reference
<form action="" name="" onsubmit="print();">


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

FORUMS » Client Side » HTML


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