title: Use of indexOf() Method in JavaScript
body: <pre><code>var araj=["1","2"];  
  var idx=Array.IndexOf(araj,"1");
  </code></pre>
  
  <p>Doesn't work as expected. Why, and what's next?</p>
  
  <p>EDIT: it is javascript in asp.net (so the friend who won't open account here says)</p>