0
다음 링크에서 버튼 및 툴팁의 기존 클래스를 변경하고 싶습니다. 어떻게해야합니까?링크의 버튼에 클래스를 추가하는 방법
$("<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");
})
.ButtonStyle { background-image: url('../Arrow_Down.gif'); margin: 0; border: outset; height: 22px; width: 20px; padding: 0; }
당분간 렌더링되는 HTML은 다음과 같습니다. 변경하고 싶습니다.
질문에 HTML을 추가하십시오. –