none
IE 8 Issue in Purge function Microsoft JScript runtime error: Object required

    Question

  • Hi Guys,

    I am running the application in .net 2010 environment along with IE 8 and getting errors like

    //Microsoft JScript runtime error: Object required in the pop up windows .there are three button like break ,continue and ignore.... once if you click on any button then the log in page proceed  to next page. Please suggest something .

    function purge(d) {

                var a = d.attributes, i, l, n;

                if (a) {

                    l = a.length;

                    for (i = 0; i < l; i += 1) {

                        n = a[i].name;  //Microsoft JScript runtime error: Object required

                        if (typeof d[n] === 'function') {

                            d[n] = null;

                        }

                    }

                }

                a = d.childNodes;

                if (a) {

                    l = a.length;

                    for (i = 0; i < l; i += 1) {

                        purge(d.childNodes[i]);

                    }

                }

            }

            window.onunload = function (e) {

                purge(document.body);

            };


    jitendriya jamadar


    Wednesday, December 05, 2012 7:54 AM