Quote:
Originally Posted by sarettah
That would be close to what he wants except you are assuming that the images are already on the page.
.
|
He said "The program doing it is outputting to HTML".
But he cannot edit the program so the images src has to be changed after the program
put out the html; which means the images are already on the page (based on his statement)
Javascript only executes on the html page DOM, so it's a given that the image src must already be part of the DOM.