阅读背景:

JQuery UI对话框 - 如何从对象添加按钮

来源:互联网 

I have this code:

我有这个代码:

var bt = {}

bt = {
    text: "OK",
    click: function () {
        // Deletefunction here...
        $(this).remove()
    }
}, {
    text: "Cancel",
    click: function () {
        $(this).remove()
    }
}

$("#test").dialog({
    title: "Confirm deletion",
    width: "300px",
    buttons: [bt]
})
var bt = {}

bt =



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: