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

  1. 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.

  2. Open Developer tools, usually by pressing the F12 button, and go to the Console view.
  3. Execute the following JavaScript code:

    oraclecrmod.enableIdHint();

  4. Make sure that the browser window is the active window.
  5. 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.

Oracle CRM On Demand JavaScript API Developer's Guide, Release 38 Copyright © 2019, Oracle and/or its affiliates. All rights reserved. Legal Notices.