Change <img /> image with JavaScript Image object
javascript, jquery
Solution
You mean
$('#imageToChange').replaceWith(imageObject)
?
Problem
I have a JavaScript Image object that I load dynamically with jQuery. What I want to do is change a `<img />` image with one stored on my `Image` object. How should I do this? Note: I want to avoid changing the source of my `<img />` tag as it downloads it again from the server, and I already have the image stored in my image object