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 =