This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
it turns out that "item" is undefined at the place marked below. The elems reference comes from the jquery 1.7.1 file (~line 760)and is shown below. I copied this autocomplete from a tutorial. Is this a correct usage of map()?