Computer Magic Logo
Use the script file

Saturday, July 18, 2015

Published by Aristotelis Pitaridis

Let’s add a reference of the generated JavaScript file in our Master Template. We open the Master Template in the template editor and it should look like the image below:

We add a reference for the script file in the header:

We click the Save button which is located at the upper right corner of the page in order to save the changes that we made to the Master Template. Now let’s see how the page responds when the user clicks on the document. We load the page in the browser and we click on the page and the following dialog box appears on the screen.