I am using HTML and javascript to draw a line and display the coordinates of that line.
Here is the Demo on jsfiddle.
I want to store these coordinates in a text file instead of displaying them next to the drawing box. Can you help me figure it out.
This is my HTML file
<canvas id="canvas" width="300" height="300" style="border: 1px solid black;"> </canvas>
<div id="coord"></div>
<div id="coords"></div>
See Question&Answers more detail:os