AntonioMainenti
01-19-2003, 09:56 AM
How do I get JavaScript to find out which element of an array a certain string is?
I tried:
moves.indexOf(this.id)
but apparently I'm not allowed to do that.
Thanks, Alan.
I tried:
moves.indexOf(this.id)
but apparently I'm not allowed to do that.
Thanks, Alan.