PDA

View Full Version : 'global is undefined ' error in executing in IE6



kannanRangasamy
6 Dec 2011, 11:37 PM
Hi I am getting a error 'global is undefined' only in IE6 and its working fine in FF.I am using EXTJS 4 for my development.

How to get it solved?
Thanks.

skirtle
6 Dec 2011, 11:54 PM
Check in IE 7, 8 and 9. Confirm it is just IE 6.

If you see similar in IE 8 or 9 then debug it there, the debuggers are much better.

There is a debugger available for IE 7, I think it works in 6 too though I'm not sure. It comes with various versions of MS Office and VisualStudio. You should be able to find details with a Google search.

Trying to debug purely in IE 6 is a nuisance. Try cutting your application back to a bare minimum and gradually introduce the code until it breaks. That should give you a hint about what's causing the problem.

My first thought is that the problem may be in how you are including the library. What does your HTML page look like?

kannanRangasamy
7 Dec 2011, 2:15 AM
Thanks for the reply. But it seems some problem with my local js compilation.