Creating Tooltips for Buttons
The JavaScript API allows you to specify tooltip text when you create a custom button and provides a method to specify tooltip text for multiple existing buttons in a single call.
You can use methods to get and set tooltip text for a button and to get and set the tooltip format, which can be HTML or plain text. For information about these methods, see Methods for the Button Object.