2 Replies Latest reply on Sep 11, 2010 10:43 AM by gkaiseril

    Changing the value of text with JS

    Rob-B

      Is it possible to set some text in a Reader document with Javascript when the document loads and then to alter it when you click a button?

       

      I'd like to have the title of my document say "This is an unaudited copy - Please use the 'print' button to print" and if you click the print button alter the title that actually comes out of the printer to "Audited copy"  Is this possible and if so, how?

       

      In PHP I'd do something like

       

      $title = "This is an unaudited copy - Please use the 'print' button to print";

      if(isset($_POST['PrintButton']))

      {   

           $title = "Audited copy";

      }

      echo $title;