Hi Stefan,

You could use the core JavaScript .splice() method:

https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Array/splice

--Karl

____________
Karl Swedberg
www.englishrules.com
www.learningjquery.com




On Jan 26, 2009, at 9:20 AM, Stefan Sturm wrote:


Hello,

I use some jQUery functions, to work with Array. But now I'm missing a function.
How can I remove an item from an Array?
Lets say, I have this Array:
var a=[ 1,2,3,4,5,6];

And now I want to remove item 3.

How can I do this?

Thanks for your Help,
Stefan Sturm

Reply via email to