Hey
Ive been given a JavaScript program (with embedded in a HTML) with several (from what Ive seen) free libraries. For example:
excanvas.js
jquery-1.6.4.min.js
prototype.js
colorpicker.js
This JavaScript program (using those and other free libraries) to draw something like this:
[img]http://img339.imageshack.us/img339/3997/dibujoajyu.jpg[/img]
As you see the dots, beside having a X and Y, have a certain order and also the last point closes with the first point.
Looking thru the code (with no comments) I cant find exactly where the points are stored so I can retreive them when I press a submit button and send them to a DB. What should I look for (besides X and Y)? What I mean is what the programmer problably did: Store in a array, make a class for each point, etc.
I cannot post the code as it is my company's and the other's so I dont know what legal inplications it may have.
Thank you very much