我只想在单击按钮时调用 action()。但它没有发生:/
$(document).ready(function() {
var window = $("#space"),
undo = $("#button");
undo.bind("click", function() { action(); });
var onClose = function() { undo.show(); };
if (!window.data("kendoWindow")) {
window.kendoWindow({
width: "600px",
title: "Basic Reports ",
close: onClose
});
}
});