Maksim.I.Mazor

No Zoom nor Table in IE8

Discussion created by Maksim.I.Mazor on Jul 3, 2013
I have a WebApp that functions just fine in FireFox, Chrome, and IE10, but in IE8 there is no zoom to extent functionality nor does the table populate like it does on other browsers. What could be the problem? I notice that the routes are drawn on the map and i'm getting the results I need in the console, that is where things break.

Here is my zoom to extent code:

    function displayResults(results, messages) {
        var featureset = results[0].value;

        var simplePolySymbol = new esri.symbol.SimpleFillSymbol();
        simplePolySymbol.setOutline(new esri.symbol.SimpleLineSymbol(esri.symbol.SimpleLineSymbol.STYLE_SOLID, new dojo.Color([0, 96, 170, .75]), 1));

        dojo.forEach(featureset.features, function (feature) {
            feature.setSymbol(simplePolySymbol);

            resultsLayer.add(feature);
        });

        myMap.addLayer(resultsLayer);
        myMap.Search.handleStats(results, messages);

        var extent = esri.graphicsExtent(featureset.features);
        myMap.setExtent(extent, true);
    }


And this is where the table gets made/populated:

        handleStats: function (results, messages) {
            console.log(results);

            var content = '';

            content += '<table>';
            content += '<tr><td> ZIP CRID </td><td> Bus </td><td> Res </td><td> Tot </td><td> &lt;200 </td><td> DS Key </td></tr>';

            dojo.forEach(results[0].value.features, function (crid, i) {
                console.log(crid.attributes.ZIP_CRID + ', ');
                content += '<tr><td>' + crid.attributes.ZIP_CRID;
                content += '</td><td> ' + crid.attributes.BUS_CNT;
                content += '</td><td> ' + crid.attributes.RES_CNT;
                content += '</td><td> ' + crid.attributes.TOT_CNT;
                content += '</td><td> ' + crid.attributes.LT_200_IND;
                content += '</td><td> ' + crid.attributes.DS_KEY + '</td></tr>';
            });
            content += '</table>';
            dojo.byId('details').innerHTML = content;
        },


Anyone have any input that could guide me in the right direction? Thanks!

Outcomes