Copy link to clipboard
I need to add a delete page button to a spawned page so if someone creates too many pages they delete the pages they don't want. These are all created at the end of the document.
I am quite new to this Java script.
If you want the button to delete the page its on use the following code as its Mouse Up event:
In order for it to work the field name of the button must be unique, though.