10

In Internet Explorer (I tried 9 and 8) my application doesn't work in the normal mode. But when I get to debug mode (press F12), it works with some minor problems (which are irrelevant now).

This makes it impossible for me to debug my application, because in debug mode, it just starts working.

This is the application I developed.

What could be the solution?

kapa
  • 77,694
  • 21
  • 158
  • 175
mfadel
  • 887
  • 12
  • 32
  • 2
    need to know problem, before can find solution – musefan May 24 '12 at 12:16
  • 2
    the problem is that it doesn't work in Internet Explorer – mfadel May 24 '12 at 12:17
  • 2
    Well on that basis, then the solution is to not use Internet Explorer. My point is, you cant just give us a website link and expect us to test, debug and fix it for you. You need to try and identify the problem (check for javascript errors) and come back with a more specific problem – musefan May 24 '12 at 12:22
  • 1
    @musefan ok, I just want to have this first clue, I forgot the console.log issue with IE, I really tried for hours to figure it out, but as I said, when I get to debug mode it works, so this confuses me from know the real reason, thx anyway for your comment – mfadel May 24 '12 at 12:27
  • 2
    I think this is a real question, and could help future visitors. Should not be closed. – kapa May 24 '12 at 12:37
  • 3
    A life saver.. Maybe the question isn't constructed right, but it led me to the solution. – Erez Cohen Aug 29 '13 at 15:29

1 Answers1

27

Do you use console.log in your script? In IE browsers console object exists in scope only in debug mode. Change your code to:

if (console) console.log('...')

EDIT: I've looked at your application and you are using console log.

WojtekT
  • 4,735
  • 25
  • 37