forming json from coldfusion query for use in jquery autocomplete
问题 I'm stumped. I have an existing autocomplete function which worked when called from a ColdFusion autosuggest input. Now, I'm trying to convert the page to use a jQuery autocomplete input, and can't make it work. Here's the existing function, in autosuggest.cfc: <cffunction name="lookupSerialNumber" access="remote" returntype="Array" > <cfargument name="search" type="any" required="false" default=""> <!--- Define variables ---> <cfset var data=""> <cfset var result=ArrayNew(1)> <!--- Do search