How to add/change a class to the buttons tooltip and in a link
I want to change the existing class for the button and tooltip in the following link. How can I do that?
- $("<a>")
- .attr("tabIndex", -1)
- .attr("title", "Show All Items")
- .tooltip( //change class here)
- .appendTo(this.wrapper)
- .button({
- //change class here
- })
- .removeClass("ui-corner-all")
- .addClass("custom-combobox-toggle")
- .mousedown(function () {
- wasOpen = input.autocomplete("widget").is(":visible");
- })
Class for button icon
.ButtonStyle { background-image: url('../Arrow_Down.gif'); margin: 0; border: outset; height: 22px; width: 20px; padding: 0; }