您好,我尝试使用 Kendo ui 打开窗口。我需要点击链接或输入按钮。我写了,但链接不起作用。请帮忙。
<a id="forgett" href="#">Forget</a>
<div id="details"></div>
<script>
$(document).ready(function () {
kendo.template($("#my-template").html());
$("#details").kendoWindow({
width: "400",
resizable: false,
title: "Forget",
visible: false,
actions: ["close"]
}).data("kendoWindow").center();
$("#forgett").click(function (e) {
window.data("kendoWindow").open();
});
});
</script>
<script id="my-template" type="text/kendo-template">
<div>...</div>
</script>