Note that there are some explanatory texts on larger screens.

plurals
  1. POIE is not showing updated IMG SRC change done in Javascript
    text
    copied!<p>ISSUE: IE version 7 and 8 is not showing updated IMG SRC change done in JavaScript</p> <p>You can see what I mean if you go to the URL below, and on the left under (3) I want a different liner, you choose one of the swatches; lets say you choose "Asahi Chartreuse". Notice nothing happens to the preview on the left. BUT then if you go ahead and choose another swatch, you will see the preview on the left shift to show Asahi Chartreuse. So it is one behind. This is why I believe it is a "refresh" issue. It works in Chrome just fine.</p> <p>In IE: Notice if you click on some other control, the refresh happens.</p> <p>You can see the code here: <a href="https://www.casemodo.com/test.asp" rel="noreferrer">https://www.casemodo.com/test.asp</a></p> <p>WHAT I'VE TRIED SO FAR:</p> <p>I've tried adding headers to say "no-cache". </p> <p>I've tried adding "?" and random number after the png file name. </p> <p>I've tried setting focus() to the image after changing the src.</p> <p>I've tried, after changing src, telling the style.display to be hidden and then visible.</p> <p>I've tried creating a hidden (and not hidden) text input box on the page and then setting focus() to it after changing img src. </p> <p>I've tried setting window.focus().</p> <p>I've tried (as you see now) setting an alert after changing the src.</p> <p>GUESS: What it looks like now is the JavaScript engine just pauses after I set that src UNTIL you manually click (focus) somewhere else on the screen. So it never even gets to all of those scripts I've tried above.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload