It is easy to add one of the icons available as part of the UI Icon Set:
$("#myButton").button({icons: {primary: "ui-icon-locked"}});
But what if I want to add one of my own icons that is not part of the framework icon set? I thought it would be as easy as giving it your own CSS class with a background image, but that doesn't work. Any suggestions?
.fw-button-edit
{
background-image: url(edit.png);
}