JavaScript

You can use JavaScript functions to invoke certain actions in the login page.

These actions include OK, Cancel, Help, Close, and getLocale. Using the JavaScript functions, you can ignore the standard footer that handles actions, such as the OK and Cancel functions, and replace it with your own UI implementation instead. Here are some sample customizations for the OK and Cancel actions:

<a onclick="javascript: executeOKCommand();" href="#">Signin</a>
<a onclick="javascript: executeCancelCommand();" href="#">Goback</a>

The following is a list of the JavaScript functions that are available:

Table 1. Customizing the login page, available JavaScript functions
Function Description
getLocale()

Returns the active product locale

executeOKCommand()

Handles the action when the OK button is clicked

executeCancelCommand()

Handles the action when the Cancel button is clicked

executeCloseCommand()

Handles the action when the Close button is clicked

executeHelpCommand()

Handles the action when the Help button is clicked