Javascript works in IE only when adding alert command (3 posts)

  1. TheNut
    Posted 8 years ago #

    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 !

  2. fjllsoy
    Posted 8 years ago #


    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?

  3. cclambie
    Posted 8 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic