Apex - Submit current page via Javascript

In order to submit the current page via JavaScript edit the element that will trigger the event and configure the target as a URL with the following link:

javascript:apex.submit();

    Clicky