Re: Replace an image with another
- Thanks Olaf.
That was much simpler than I was expecting. I wasn't even sure this was possible.
--- In email@example.com, Olaf Schnabel <oschnabel@...> wrote:
> Hi xyz,
> you have to define the variable circle in your function replaceRect.
> This code should work:
> var rect = evt.target;
> var circle = document.getElementById("circle");
> Best regards