Searching Arrays - indexOf
I was trying to search an array, and on the web it says to use something like this:
var tA = ['one','two'];
$.writeln(tA.indexOf ('one'))
However, when I try this, I get: tA.indexOf is not a function." It works with a string variable but not an array. Is this a bug, or an I doing something wrong?

