0

我明白了

SCRIPT601:此操作的源 HTML 无效。

  • ext-all-dev.js,第 22833 行

在 IE 8 中,这是一行:

 else {
           el.insertAdjacentHTML(hashVal[0], html);
       }

我创建了这个按钮:

 {
    id: 'deleteGroup',
    cls: 'group-delete-btn',
    focusCls: 'group-delete-btn-over',
    overCls: 'group-delete-btn-over',
    tooltip: 'Delete group',
    xtype: 'button',
    frame: false,
    disabled: true
}

HTML的输出是:

<a class="x-btn no-image x-unselectable x-btn-toolbar x-box-item x-toolbar-item x-btn-default-toolbar-small x-noicon x-btn-noicon x-btn-default-toolbar-small-noicon"
    role="button" hidefocus="on" unselectable="on" tabindex="0" href="#authorization/open"
    target="_self" id="button-1039">
    <div id="button-1039-frame1MC" class="x-frame-mc x-btn-mc x-btn-default-toolbar-small-mc x-btn-default-toolbar-small-noicon-mc"
        role="presentation">
        <span id="button-1039-btnWrap" class="x-btn-wrap" unselectable="on"><span id="button-1039-btnEl"
            class="x-btn-button"><span id="button-1039-btnInnerEl" class="x-btn-inner x-btn-inner-center"
                unselectable="on"><i>Group </i></span><span role="img" id="button-1039-btnIconEl"
                    class="x-btn-icon-el " unselectable="on" style=""></span></span></span>
    </div>
</a>

有没有人知道这个 HTML/代码有什么问题?

4

0 回答 0