PDA

View Full Version : What is this error and what does it mean



KingKahn
22 Apr 2009, 6:13 PM
Hey guys,
I am debugging my source and the code keeps on breaking on this line in ext-base.js

return el.dom ? el.dom : (typeof el == "string" ? document.getElementById(el) : el)

with this message
Microsoft JScript RunTime error: Object doesn't support this method or property.

Can someone please tell me what does it mean in the context of ExtJS?

Thanks!

Animal
22 Apr 2009, 11:47 PM
Why "in the context of ExtJS"? This is just Javascript.

What doesn't support what? Which expression in that line fails? Test them on the console command line.

Then go back through the call stack and see who initially passed the bad value.