Getting Started with the Code Samples
To use the sample code in this appendix:
Log in to Oracle CRM On Demand with an administrator role that includes the privilege: Upload Client Side Extensions and Manage Custom HTML Head Tag.
Navigate to Admin, Application Customization, Custom HTML Head Tag.
In the Custom HTML Head Tags Detail page, add the sample code.
For more information about getting started, see Getting Started with the JavaScript API and in particular see Privileges Required and Managing HTML Head Additions.
For each of the code samples, the entry point for running the custom code is either a call to the onReady() method, which is associated with the ready event, or the onLoad() method, which is associated with the onload event. The ready event occurs after the HTML document has been loaded, while the onload event occurs later, when all content (for example, images) has also been loaded.