I want to track user interaction with a plugin written in jquery which is storing some multi-mensional arrays. I want to save those arrays into mysql database or into a file which I can display later.
The array looks like this:
var data = [ [381, 143, 0, 0, 0, 250, 1],[367, 147, 0, 0, 0, 250, 2],[367, 147, 0, 0, 1, 249, 3] ];
Basically this plugin just records positions into the arrays and displays animation on screen where the user clicks.
Here is an example how this script is working:
var myRecord =new viewRec({interval:250});
var data = [ [381, 143, 0, 0, 0, 250, 1],[367, 147, 0, 0, 0, 250, 2],[367, 147, 0, 0, 1, 249, 3] ];
myRecord.setData(data);
myRecord.play();