I have read and read and just am not getting it. What exactly is -1 telling me?
Example 1:
if(navInfo.indexOf("Win98" != -1))
{
//do something
}
Example 2:
var myString = "something old, something new, you know the rest"
var foundAtPosition = 0;
var myCount = 0...
Any help would be greatly appreciated. I am attempting to add the value from the selections in combo boxes and return the results back as the "amount" on the page being viewed. I apologize in advance for being very new to this.
<body>
<select size="1"...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.