Support » Fixing WordPress » Javascript works in IE only when adding alert command

  • Hello all.
    I am facing a very weird problem. I have added a JS file with a PNG function for IE, along with some plug-ins that uses javascript of their own. When loading the page in FireFox, everything is fine, in IE, however, it doesn’t show the image, or any other items that uses javascript. But, when I add a small alert in the javascript function, all of a sudden, IE recognize the JS, show the alert and get all the information from the JS files.
    Here is the website I am working on:

    Any idea why it happens??? I am perplexed !

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi!

    I’m facing the same problem. I’m wondering if you find any solution.
    my problem is.
    Opera update the view at the same time that the javascript code is executed. IE and Firefox seems that they buffer the acctions and execute all of them when the code is done.
    This make that everything I wanna show comes at the same time. What is not what I’m looking for.

    If I insert alert in the middle of the code, the acctions are reflected directly in the view.
    What is clear is that alert updates the view. but how to make this update with out alert????
    Did you find any solution to your problem?

    Not sure if you found this, but I found a solution, and saw your problem on my travels…

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Javascript works in IE only when adding alert command’ is closed to new replies.