amen wrote: » can you post some code?
lukin wrote: » I have decided to give up on using an array. I wnat to split a string into substrings based on commas without using an array. edit; I got it You can't actually remove it from the array, I had to remove it from the drop down I was adding it to, like so: if (typeof a1 == 'undefined') { element.options = null;
smcelhinney wrote: » I would probably worry more about why an "undefined" value is making it into the array in the first place. Trace it back, saves you doing error handling in multiple places.
smcelhinney wrote: » Also, you can remove items from Javascript arrays using array.splice. Google's your friend on this one.