我正在使用剑道窗口。
我在他们身上包含了其他 html 视图。
在这个 html 中,我有一个按钮。当我单击此按钮时,我想关闭当前窗口。
<div id="window" class="k-window-content k-content" style="overflow: auto;" data-role="window" tabindex="0" role="dialog" aria-labelledby="window_wnd_title">
    <iframe class="k-content-frame" frameborder="0" src="http://localhost/eventBot/index.php/parsePortal/scrapePortalSite/5623" title="">
    <html class="k-ff k-ff23">
    <head>
    <body>
    <div id="example" class="k-content">
    <div id="window">
        <div class="block_content" data-role="tooltip">
           <form id="siteConfigForm" accept-charset="utf-8" method="post" action="http://localhost/eventBot/index.php/parsePortal/saveConfig" data-role="validator" novalidate="novalidate">
           <table>
              <tr>
              <td>
                   <button class="k-button save" onclick="siteConfig()" type="button">Save</button>
                   <button class="k-button" onclick="windowss()" type="button">close</button>
              </td>
              </tr>
           </table>
           </form>
        </div>
      </div>
 </div>
在这个 html 中,当我单击此按钮时,我有保存按钮,我想绑定window.close();
我该怎么做。
谢谢。