How To Prevent "unable To Get Value Of The Property 'dir': Object Is Null Or Undefined" Error When Loading Pages In Ie9
I have a Dojo 1.7.4 app that is getting 'Unable to get value of the property 'dir': object is null or undefined' error when loading pages in IE9. I'm using an AMD build, and the er
Solution 1:
you can control the execution of the ready function by adding a number before the actual function:
ready(999999,function() {
package.init();
});
Small numbers mean early execution, big numbers late execution !
You have nested a ready function inside a ready function. I don't think their are ment to be used that way...
Solution 2:
I ended up having to move the inline portion of the script to after the </body> tag.
Post a Comment for "How To Prevent "unable To Get Value Of The Property 'dir': Object Is Null Or Undefined" Error When Loading Pages In Ie9"