Print out ...Urgent!

Results 1 to 2 of 2

Thread: Print out ...Urgent!

  1. #1
    Fion Guest

    Default Print out ...Urgent!

    What object can I make use of to print a frame that contains a form (ie purchase order) with all the values filled in by the user?<BR><BR>pls help.<BR>Fion

  2. #2
    Join Date
    Dec 1969

    Default RE: Print out ...Urgent!

    You can use the following javascript<BR>&#060;script language=javascript&#062;<BR> function doPrint(){<BR> document.print();<BR> }<BR>&#060;/script&#062;<BR><BR>and call the function thru the onClick event of a button or an image.<BR><BR>But the logic you are trying to use is not clear, you are trying to print a Form object which the user can print and then change. This is not the right way to do, you must first ask the user to submit the form so that you save the details on the server, then show the users the saved details of their order and allow them to print it thru the above routine. This way, they have no chance of changing the details they have submitted.<BR><BR>Nilesh Deshpande<BR><BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts