1. #1
    Ext JS Premium Member veenvliet.morion's Avatar
    Join Date
    Oct 2009
    Location
    Netherlands
    Posts
    24
    Vote Rating
    0
    veenvliet.morion is on a distinguished road

      0  

    Default IE9 problem on innerHTML

    IE9 problem on innerHTML


    Hi,
    I've got a problem.
    I use Ext.Loader extensivly, and only load ext-debug.js.

    In all browsers this works great, but on IE9 I got an error on setting innerHTML in (and some other places).
    It gives an exception without any information...

    Any Ideas?

    Code:
    Ext.supports = {
        
        init : function() {
            var me = this,
                doc = document,
                tests = me.tests,
                n = tests.length,
                div = n && Ext.isReady && doc.createElement('div'),
                test, notRun = [];
    
    
            if (div) {
                div.innerHTML = [
                    '<div style="height:30px;width:50px;">',
                        '<div style="height:20px;width:20px;"></div>',
                    '</div>',
                    '<div style="width: 200px; height: 200px; position: relative; padding: 5px;">',
                        '<div style="position: absolute; top: 0; left: 0; width: 100%; height: 100%;"></div>',
                    '</div>',
                    '<div style="position: absolute; left: 10%; top: 10%;"></div>',
                    '<div style="float:left; background-color:transparent;"></div>'
                ].join('');
    
    
                doc.body.appendChild(div);
            }

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,927
    Vote Rating
    443
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    Do you receive the same if you use ext.js, or if you use ext-all-debug instead of using loader to see if you get the same error?

    Scott.

  3. #3
    Ext JS Premium Member veenvliet.morion's Avatar
    Join Date
    Oct 2009
    Location
    Netherlands
    Posts
    24
    Vote Rating
    0
    veenvliet.morion is on a distinguished road

      0  

    Default


    With ext-all.js and ext-all-debug.js everything is fine.

    With ext.js and ext-debug.js thing go wrong on setting the innerHTML.

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi