Also, I see an ending </results> tag, but no beginning <results> tag.
Mike -----Original Message----- From: Ian Vaughan [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 16, 2008 9:28 AM To: CF-Talk Subject: RE: CF, Ajax and Autocomplete Problems Hi Mike I have surrounded it with a cfsilent tag to remove the white space, and its still the same, no errors but no results appear? And I'm using cfcontent as below. <cfsilent> </cfsilent>cfsetting enablecfoutputonly="yes"> <cfquery name="getNames" datasource="dsn"> SELECT surname FROM tablename WHERE surname LIKE <cfqueryparam cfsqltype="cf_sql_varchar" value="#form.surname#"> ORDER by surname ASC </cfquery> <cfcontent type="text/xml; charset=UTF-8" reset="yes"/><cfoutput>#theXML#</cfoutput> <cfloop from="1" to="#getNames.recordcount#" index="ctr"> <cfoutput> <!--- add the XML config entry ---> <rs id="" info="#getNames.surname[ctr]#">#getNames.surname[ctr]#</rs> </cfoutput> </cfloop> <cfoutput> </results> </cfoutput> </cfsavecontent> <cfoutput>#theXML#</cfoutput> </cfsilent> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312594 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4