In this code that I gave you:
// for first version above, array of arrays:
if ( listEntry.search(re) != -1)
selectObj[numShown++] = new Option( listEntry, listEntry );
// for second version above, array of objects:
if ( listEntry.name.search(re) != -1)
selectObj[numShown++] = new Option(listEntry.name, listEntry.url );
you were supposed to use *EITHER* the red code
*OR* the magenta code
It will *NEVER* work if you try to use *BOTH*.
Go back and read my message on this again.