Confirmation message

I would like to program a confirmation popup message while clicking on a retangle that I 've put on a page.
Could you help me on that

Hi Marc,

Is this for a ViewON page?

-Tim

Hi Tim

Yes it is for the ViewOn

Regards

Hi Marc,

Here’s a short Javascript code I’ve written for this:

Create a button and get its UID like below

Then click off of the box onto the white background

Next create a Javascript section by doing the following:

image

After that you can enter the following code in the javascript section and try it out

$("#UID_1591361845868Container").mousedown(function() //Grabs the value for the button under the “Print Button section” and will activate the function when a mousedown key is hit
{
alert(“I am a popup!”); //prints the screen
});

-Tim