Javascript: Find Array value

This page is provided to provide an example of the Javascript function for finding a value within an Array. If you find any problems with the functionality of this script, we'd appreciate the feedback. You can drop us a quick note on our Contact page.

Array values
  • 0 : "test"
  • 1 : "example"
  • 2 : "Javascript"
  • 3 : "Array"
  • 4 : "search"

Search array for value: