I'm experimenting with setting custom images for the previous and next month buttons. I attempted to utilize the prevText / nextText options of the datepicker in order to include a span with my own CSS class definition. However, this resulted in the class being added to the link's title attribute, creating invalid HTML.
My goal is to avoid modifying the .ui-icon-circle-triangle-w and .ui-widget-header .ui-icon rules in the jQuery UI CSS. Instead, I simply want to add or change the class for the generated span element within the anchor tag.