Click the button to display the position of the element "Apple":

Note: The indexOf method was introduced in JavaScript 1.6, and does not work in Internet Explorer 8 and earlier versions.