[Javascript] delete from array

Dan Costea costea.dan at ssi-schaefer.ro
Wed Oct 16 11:13:39 CDT 2002


You can use other methods of the array object. See:
http://www.devguru.com/Technologies/ecmascript/quickref/array.html
But if you get this error, then you should ask yourself if your object is
realy an array.
I don't think that using another method is a solution. I think you should
fix the error and use pop method.

Good luck.
Dan.

----- Original Message -----
From: "Iztok Polanic" <iztokp at amis.net>
To: <javascript at LaTech.edu>
Sent: Wednesday, October 16, 2002 5:04 PM
Subject: [Javascript] delete from array


> Hi!
>
> I'm using pop() method to delete the last item in array. But every time I
> execute pop() method I get an error (Object doesn't support this method).
> Using: IE 5.5!
> IS there another way how to delete a record from an array?
>
> Bye,
>
> Iztok
>
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript




More information about the Javascript mailing list