¡@

Home 

2014/10/16 ¤W¤È 12:03:28

jquery Programming Glossary: findphone

jQuery variable claiming it's undefined when it has been defined

http://stackoverflow.com/questions/8198374/jquery-variable-claiming-its-undefined-when-it-has-been-defined

iPhone 2G iPhone 3G iPhone 3GS iPhone 4 iPhone 4s minChars 1 matchSubset 1 onItemSelect selectPhone onFindValue findPhone autoFill true maxItemsToShow 10 selectFirst true #input2 .autocompleteArray 1.1 1.2 1.3 1.4 1.5 minChars 1 matchSubset 1.. 1 onItemSelect selectFirmware onFindValue findFirmware autoFill true maxItemsToShow 10 selectFirst true function findPhone li if li null return alert No match var phone li.selectPhone var phoneid phone.replace iPhone iphone .toLowerCase function.. null return alert No match var firmware li.selectFirmware .info .hide phoneid firmware .show function selectPhone li findPhone li function selectFirmware li findFirmware li I'm using this for the autocomplete plugin. The page can be viewed here ...