VBASPX页面在jQueryUI对话框中,但只有一个代码隐藏调用起作用
javascript代码如下所示VBASPX页面在jQueryUI对话框中,但只有一个代码隐藏调用起作用,jquery,asp.net,vb.net,Jquery,Asp.net,Vb.net,javascript代码如下所示 select.dialog({ autoOpen: false, resizable: true, width: 800, height: 400, modal: true, appendTo: "form", close: function () { } } }); $("a[id$='
select.dialog({
autoOpen: false,
resizable: true,
width: 800,
height: 400,
modal: true,
appendTo: "form",
close: function () {
}
}
});
$("a[id$='selectClient']").on({
"click": function (event) {
select.load('/website.aspx?Id=' + blockId).dialog('open');
return false;
}
});
因此,页面在对话框中加载良好,但我只能调用代码隐藏函数一次,第二次调用不起作用。是
select
元素的父元素a[id$='selectClient']
select是第一页上的空div,[id$='selectClient']是同一页上的链接按钮。