APEX - Javascript submit page with confirmation box

Problem:

Submit APEX page via JavaScript with confirmation box.

*Solution: Set the link action as “Redirect to URL” and set the URL as:
javascript:apex.confirm(’’,’’);

    Clicky