WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. TheNut
    Member
    Posted 6 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:
    http://nefritelor.morvimmer.com

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

  2. fjllsoy
    Member
    Posted 5 years ago #

    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?
    Thanks

  3. cclambie
    Member
    Posted 5 years ago #

    Not sure if you found this, but I found a solution, and saw your problem on my travels...
    http://forums.digitalpoint.com/showthread.php?t=700683

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags