Skip to content

Author: admin@master

Set img src without issuing a request

As part of building a code to copy and paste, we had to use a dom element that we appended text / other dom elements into it, and in the end the result would be code to copy. However, when appending image elements, the browser always issues a request for the image src. Is there any way around it? i.e.