Changing the Look and Feel of a Button
The JavaScript API provides methods to change the look and feel of a button. You can do the following:
Set or change the display text for a button.
Set or change the image for a button by providing a URL to the image.
You can use methods to get information about the text and image for a button. For information about these methods, see Methods for the Button Object.