1
我是新的JQuery,我試圖做一個選項卡選擇觸發事件,這是我創建的代碼。但是,當我點擊我想要的事件觸發選項卡上,該事件不會引發JQuery選項卡,選項卡上選擇觸發事件
$("#tabs").tabs({
select: function (event, ui) {
var selected = ui.panel.id;
alert("Hello");
$.ajax({
type: "POST",
url: "/Create/iFrameStyling",
data: { 'fontFamily': $('#ddlTypography').val() },
dataType: "json",
success: function (msg) {
}
});
}
});