I just deleted an element in my array using this code:
delete chckboxIDs[0][0];
This is what the data in my array looks like now:
Now my array has an empty cell which breaks the code because i loop through it based on its length in other places in my program causing a null value exception. How do i get rid of this empty space?
If i shift all the elements down until it was in the last position wouldnt it still be there and still break the code? Is there a better way to do this?