Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
865
Microsoft JScript runtime error: 'style' is null or not an object
posted

 Hi,

I have a websplitter on my page and everything works fine. When I add another websplitter to the page (not insdie the first one), I get the above error and stops here:

/* width: true- return elem.style.width, false- return elem.style.height */
    /* return percent width/height, or 100 if it is not set, or -1 if it is not percent. */
    _toPercent:function(elem, width)
    {
        var val = elem.style;
        if(!val) return 100;
        val = width ? val.width : val.height;
        if(val && val.indexOf('%') < 1)
            return -1;
        return $util.toInt(val, 100);
    },

 

Please help!

Kamal

 

Parents
No Data
Reply Children
No Data