Jump to content

Storing elements in sequence


croeltgen

Recommended Posts

Hello,I need to store the values entered by the user in a textfield and I tried to do this with this statement:(...)x=x+1;values[x]=document.getelementById("field").value;(...)This doesn't work of course, as all indexes in values refer to the same object "field".I didnt find a way to store the changing contents from "field" in an array.Any help is much appreciated.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...