<p>I am using the functions strpos(string, string) in javascript. In Firefox, Opera and IE the page loads fine, but in Chrome I get the error: Uncaught ReferenceError: strpos is not defined. The page I am working on is <a href="http://seniorproject.korykirk.com/0xpi2.php" rel="nofollow noreferrer">http://seniorproject.korykirk.com/0xpi2.php</a></p>

Use
```
haystack.indexOf(needle)
```
.