17 Replies Latest reply on Jun 11, 2013 8:57 AM by Rich_Henderson

    Inserting pages with Javascript




      Is it possible to insert pages using Javascript? I would like to insert a page from a file upon the click of a button. I was using the following as a "Mouse Up" event in a button:


      this.insertPages({nPage:this.numPages-1, cPath:"InsertExampleSource.pdf"});


      but it doesn't seem to work...


      Any help would be appricated.