Performing certain tasks after print command is issued from "WINDOWS PRINT DIALOG BOX"
-
The situation/requirement is something like this... There will be a print button on the page and whenever that button is pressed content of that page will be printed. After that a confirmation box will appear asking for confirmation whether the document has been sucessfully printed, if click "yes" then a row will be inserted in a table. Now the problem is... If I use the "onAfterPrint" javascript event procedure and put a confirmation box there then that confirmation box is appearing even before the "WINDOWS PRINT DIALOG BOX" is appearing and this doesn't solve the purpose. The requirement is...that confirmation box will appear after the print command is issued from the "WINDOWS PRINT DIALOG BOX". Is there any way out? Any help will be appreciated. Thanks in advance... -- modified at 6:59 Monday 28th November, 2005