how is it possible to use an add operator within a string. I have the following function:
var point_1_x = 50;
var point_2_y = 100;
array[0].animate({path:"M, "+point_1_x+", "+point_1_y+"", 5, '<>');}
but I want to use var point_1_x and add an integer to it. How would be the correct syntax to do this.
array[0].animate({path:"M, "+point_1_x+500+", "+point_1_y+"", 5, '<>');}
does not seem to work.
Cheers
parseInt, here. He is trying to perform the operation inline and already has the integers.}needs to be inside the).