Quantcast
Channel: Adobe Community : Popular Discussions - JavaScript
Viewing all articles
Browse latest Browse all 12130

How to place a spawned page right to the next page (not the end of document)?

$
0
0

Hey guys,

 

Newbie again... I was able to successfully spawn my page template and everything is working fine except one thing:

 

My document has 2 pages (they are both set as different templates) and at the end of each page I have a button to create a new one. The problem is: if I click the button on page 1, the spawned page goes to the end of the document.

 

Therefore, I was wondering if I could have the page inserted as many times as necessary before the page 2 of the document. It may even be simple, however, I cant make it to work!

 

Any help is greatly appreciated!

 

Many thanks in advance.


Viewing all articles
Browse latest Browse all 12130

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>