Ive never tested this... nice.
But if what you want is remove items in an array theres a method for it,
splice.

Ive modified your code to work with it:

http://mooshell.net/G2sbK/

References: http://www.w3schools.com/jsref/jsref_splice.asp

Cya


--
Fábio Miranda Costa
Solucione Sistemas
Front-End Engineer
http://meiocodigo.com


On Thu, Aug 6, 2009 at 7:38 AM, Shrike <martin.sile...@gmail.com> wrote:

>
> Hello,
>
> can you help me to solve the IE error on this script?
>
> http://mooshell.net/gYxKu/
>
> no errors with firefox or chrome
>
> var array0 = new Array();
> array0[0] = '00';
> array0[1] = '01';
>
> var array1 = new Array();
> array1[0] = '10';
> array1[1] = '11';
>
> var test_array = new Array();
>
> test_array[0] = array0;
> test_array[1] = array1;
>
> delete test_array[0];
>
> test_array.each(function(items, row){
>
>        items.each(function(i, r){ // IE error
>
>        alert(i);
>
>        });
>
> });
>

Reply via email to