Updating An Array On Button Click Javascript
This question may be a bit long winded but bear with me. I am trying to update and array every time a user hits the save button. When they click save an image of a canvas on the p
Solution 1:
After removing the image from the array you are not storing it anywhere so the splice result is lost and the array remains the same
array.splice(x,1);
needs to be
array = array.splice(x,1);
Post a Comment for "Updating An Array On Button Click Javascript"