View Single Post
Old 09-29-2018, 06:35 PM  
blackmonsters
Making PHP work
 
blackmonsters's Avatar
 
Industry Role:
Join Date: Nov 2002
Location: 🌎🌅🌈🌇
Posts: 20,620
Quote:
Originally Posted by sarettah View Post
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.
blackmonsters is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote