Javascript Working in IE8 comp mode but not standards mode?

For forcing compatibility mode, you need a custom header. See this link weblogs.asp.net/joelvarty/archive/2009/0....

For forcing compatibility mode, you need a custom header. See this link weblogs.asp.net/joelvarty/archive/2009/0... If you post the Javascript that is not working, may be we can point out the problem.

2 I wouldn't consider forcing compatibility mode anything other than a quick fix, though. There are lots of improvements in the IE8 engine that are lost by doing this. – Blixt Jul 20 '09 at 7:30.

First of all, check the value of the document. DocumentMode value in JavaScript. If your page is in quirks mode, it goes back to IE 5 behavior, which can mess up your code.To check the document mode, use this little piece of JavaScript.

Var docMode = document. DocumentMode; if (!docMode|| docMode // 5 for quirks mode, 7 for compatibility mode, // undefined for IE7 or earlier. } else { // IE8 or later standards mode.

} It's hard to tell what your problem is if you don't post code though. Maybe we can figure it out if you show us what code behaves differently.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions