Comparing elements
<pre><code>for (index=1; index&lt;=15; index++) {
    if (undefined != sku[index]) {

        found = jQuery.inArray(sku[index], mr_sku); 
        if( found == -1){ //not in array
            alert( sku[index] + " NOT FOUND - delete index " + index );
        } else { // in array
                  alert("FOUND");
        }

  }
</code></pre>

<p>} </p>

<p>Two arrays - sku and mr_sku = trying to find the values from 1 to 15 where not undefined that the values are in both arrays. sku[1] and mr_sku I know are the SAME value - Just NEVER shows as bieng in the array - inarray ALWAYS comes back as -1</p>
