R
rusty
Hi,
im currently working on a web app which uses heavy javascript. in one
of the functions, a simple array is created using "var admin_types =
new Array();". This array is not empty, it has a length of 0 but
contains one element with the name "clone" and the value
function () { var copy = {}; for (var i in this) { var value = this;
try { if (value != null && typeof (value) == "object" && value !=
window && !value.nodeType) { value.clone = Object.clone; copy =
value.clone(); } else { copy = value; } } catch (e) { copy =
value; } } return copy; }
why does this element get created?? The weird thing is that i use a lot
of arrays and this is the only one that has that element.
i tried this in firefox 1.0, ie 5.5 and mozilla 1.7.1 and the element
is in the array for all of them...
any help would be appreciated
Rusty
im currently working on a web app which uses heavy javascript. in one
of the functions, a simple array is created using "var admin_types =
new Array();". This array is not empty, it has a length of 0 but
contains one element with the name "clone" and the value
function () { var copy = {}; for (var i in this) { var value = this;
try { if (value != null && typeof (value) == "object" && value !=
window && !value.nodeType) { value.clone = Object.clone; copy =
value.clone(); } else { copy = value; } } catch (e) { copy =
value; } } return copy; }
why does this element get created?? The weird thing is that i use a lot
of arrays and this is the only one that has that element.
i tried this in firefox 1.0, ie 5.5 and mozilla 1.7.1 and the element
is in the array for all of them...
any help would be appreciated
Rusty