In my script some of the variables are passed on like this from the html:
The number of x0, x1, x2 ... and y's may vary.Code:<SCRIPT LANGUAGE="JavaScript">var x0 = 186;var y0 = 249;var x1 = 63;var y1 = 149;</SCRIPT>
When accessing the variables I used:
However, this only works in chrome, not firefox.Code:dotNumber = 0; alert(this["x"+dotNumber]);
Does anyone know of an alternative way to access the variables?