var axis_x = document.getElementById("x_axis").value; // 3
var axis_y = document.getElementById("y_axis").value; // 2
for (var i=1; i <= axis_x; i++){
axs_x.push(i); // [1,2,3]
alert(axs_x);
}
for(var j=1 ; j <= axis_y; j++){
axs_y.push(j); // [1,2]
alert(axs_y);
}
}
I am seeking assistance in resolving this problem. The desired outcome is:
[11, 12, 21, 22, 31, 32]