Oracle CRM On Demand JavaScript API Developer's Guide > JavaScript API Reference > Methods for the Button Object >
Identifying the IDs of Buttons and TitleBars
To get a TitleBar or Button instance, you must know the ID of the title bar or button. To find out the ID, you can use the following procedure: To find the ID of a title bar or button
- Log in to Oracle CRM On Demand in a browser that allows dynamic JavaScript code execution.
Examples of such browsers include Mozilla Firefox with Firebug, Google Chrome, and Microsoft Internet Explorer Version 8 and later.
- Open Developer tools, usually by pressing the F12 button, and go to the Console view.
- Execute the following JavaScript code:
oraclecrmod.enableIdHint();
- Make sure that the browser window is the active window.
- Move your mouse over the title bar or button that you want to get the ID of.
The browser displays a tooltip near the title bar or button that displays its ID.
|