How to solve the error: "undefined is a null or not object, that is, in ext js" in IE?

I think this is the cause of the final comma or syntax error, a variable used without declaration. My js fiel is 1000 lines of code. Since the error does not show me line No. It becomes enough for debugging. Please help me with debugging methods for IE. The script works great with Firefox, Safari.

+5
source share
7 answers

I would have a jslint file. This will find the problem, as well as any others that you may have.

You can run it as a utility with node .

+5
source

<script type="text/javascript" src="https://getfirebug.com/firebug-lite-debug.js"></script> <html debug="true"> firebug
http://getfirebug.com/firebuglite#Debug

+4

IE DebugBar. FireBug Firefox.

+1

Microsoft Visual Studio, , , } .

IE8 , , - .

- IE, - , Johan bjornd.

:)

+1

eclipse:

spket java script

/ (, / )

0
, , , ? .

1) { }   catch (e) {   alert ('Final Err:' + e.description); }

200 ,

while(EOF) {
  if(got an alert of error)
    checked for trailing commas & putting missed semicolons till end.
  else
     adding some more lines later uncommented out of the commented and ran the file.
}

, .

0

Extjs RowExpander. IE. , toggleRow:

if (!this.view) {
    this.bindView();
}

For some reason, IE sometimes suffocates from links to "this.view" (probably a synchronization problem). Running 'bindview ()' ensures that 'this.view' is resolved accordingly.

0
source

All Articles