var array = new Array (dog, cat, hamster, horse, monkey); positionAnimal(hamster) = 2; <- this type of functionality.. if value exists in the array, return the index, otherwise, returns something else.. thanks! ___ peace, sergio photographer, journalist, visionary www.coffee-black.com |
- [mochikit] index of a value in an array? sergio
- [mochikit] Re: index of a value in an array? Bob Ippolito
- [mochikit] Re: index of a value in an array? Bob Ippolito
