Hi,
I'm trying to store some user input from a web form into an array, now the
thing is I would like to store multiple users entries so I was thinking of
using a multidimensiona l array so I might have something like this.
userArray[0][0] would hold user 0's UserID
userArray[0][1] would hold user 0's Name
and
userArray[1][0] would hold user 1's UserID
etc.
So I've been googling around for how to do this but have't come up with a
way of doing multidimensoina l arrays in javascript, is it actually possible?
I've seen ways of using associative arrays to achieve multidimensiona l
properties but I'm not too sure how to do it.
Hope someone can help!
Thanks
I'm trying to store some user input from a web form into an array, now the
thing is I would like to store multiple users entries so I was thinking of
using a multidimensiona l array so I might have something like this.
userArray[0][0] would hold user 0's UserID
userArray[0][1] would hold user 0's Name
and
userArray[1][0] would hold user 1's UserID
etc.
So I've been googling around for how to do this but have't come up with a
way of doing multidimensoina l arrays in javascript, is it actually possible?
I've seen ways of using associative arrays to achieve multidimensiona l
properties but I'm not too sure how to do it.
Hope someone can help!
Thanks
Comment