I have the following in the <head> of my html:
For some reason whenever the button is pushed it changes every value in the xvalues array to whatever is in the textbox, rather than just the last value.
Am I doing something wrong? Does it have to do with where I define the array?
Any help is appreciated.