私は得る
SCRIPT601: この操作のソース HTML が無効です。
ext-all-debug.js、行 6769 文字 21
IE8で
これがラインです。
el.insertAdjacentHTML(hashVal[0], html);
デバッグ中、html の値は"<a title=\"\">1</a>"
私はこの問題に数日間立ち往生しました。これは評価機能に関連しています。このエラーが原因で、ie 8 で評価の星が表示されていないと思います。他のブラウザは問題ありません。コードの対応する部分を以下に示します。私はextjsを使用しています。
var starLink = star.createChild({
            tag: 'a',
            html: this.values[i],
            title: this.showTitles ? this.titles[i] : ''
        });
そして、この要素を作成している間、呼び出しは次の部分に行き、上記の指定された行でエラーが発生します。
 insertHtml : function(where, el, html){
            var hash = {},
                hashVal,
                range,
                rangeEl,
                setStart,
                frag,
                rs;
            where = where.toLowerCase();
            hash[beforebegin] = ['beforeBegin', 'previousSibling'];
            hash[afterend] = ['afterEnd', 'nextSibling'];
            if (el.insertAdjacentHTML) {
                if(tableRe.test(el.tagName) && (rs = insertIntoTable(el.tagName.toLowerCase(), where, el, html))){
                    return rs;
                }
                hash[afterbegin] = ['afterBegin', 'firstChild'];
                hash[beforeend] = ['beforeEnd', 'lastChild'];
                if ((hashVal = hash[where])) {
                    el.insertAdjacentHTML(hashVal[0], html);
                    return el[hashVal[1]];
                }
            } else {