Changes to Array prototype causing problems with grid
I've having a couple of problems using the grid after defining a couple of prototype methods for the Array object. One such method is shown below. Unfortunately these methods are required and so cannot simply be removed.
Any suggestions??
Thanks in advance
Any suggestions??
Thanks in advance
Array.prototype.remove = function( index )
{
if ( ( index >= 0 ) && ( index < this.length ) )
{
delete this[index];
for ( var i = index; i < ( this.length - 1 ); i++ )
{
this[i] = this[i + 1];
}
this.length--;
}
}
Helen Williamson
January 24,