0
I have an image and when I click on this image, I want to mark with a circle the place where I clicked.
I also need to take the position to record later in the bank, because when I open the image again, I need to draw the circle again in the same position.
It will always be the same image, with the same size, I need to do this in Javascript.I appreciate the attention already.
Whenever you want to show the code in Javascript to run consider using the Live Snippet Stackoverflow as I did in editing, which makes it practical to see the solution, just as it ceases to depend on external sites.
– Isac
It’s still not exactly what I need. Although the code didn’t go wrong, the circle didn’t appear on the canvas. But I think this is a detail. What I need is for an image to appear on the canvas, and when I click, a ciruclo will appear on the image, in the position I clicked.
– Tonico