PDA

View Full Version : Internet Explorer error: app wont load



knarz
5 Jun 2008, 10:48 PM
Good morning everybody!

I am writing a application to manage a virtual stock portfolio. I developed with FF and after a while i just wanted to have a look hows it working on IE and i have a problem: IE doesnt load or show anything of my app - IE tells me: "Hex number expected" but you sure know about the problem that the codelinenumber isnt the right one in IEs error messages. I tried the IEdeveloperToolbar, but its just a little tool which wont help me in this case.

FF will show my app fine and everything works as wanted. So what can be the problem? Do you have any recommendations about a js debugger for IE?

evant
5 Jun 2008, 10:51 PM
It's almost always an extra comma:



new Ext.Panel(
{
title: 'foo',
html: 'bar', // <== extra comma!
}
);


Use jslint.com

knarz
6 Jun 2008, 12:23 AM
thank you, problem solved!

some extra commas and variable errors and semicolons..