I have no problem creating associative arrays and adding indices to them.
e.g.
var myAssocArray = new Object();
myAssocArray["test1"] = new Object;
myAssocArray["test2"] = new Object;
myAssocArray["test3"] = new Object;
...
myAssocArray["testn"] = new Object;
I'm just wondering how you remove an index. I'm assuming that
...
myAssocArray["testn"] = null;
...
will set it to null, but the index still exists. I really want to remove the index. So that I have testn-1 as the last index for example.
Any ideas?
Nick