Re: cfinput autosuggest froma database query

2008-04-29 Thread Kamru Miah
>Can I also suggest you migrate your Application.cfm to Application.cfc >and begin to reap some new features it offers as well. Thanks Andrew - I shall bear that in mind in my next new application. Kamru ~| Adobe® ColdFusion® 8

Re: cfinput autosuggest froma database query

2008-04-29 Thread Andrew Scott
hehe Gone are the days when Application.cfm and onRequestEnd.cfm where used for header and footer to templates... Can I also suggest you migrate your Application.cfm to Application.cfc and begin to reap some new features it offers as well. Just a suggestion. -- Senior Coldfusion Developer

Re: cfinput autosuggest froma database query

2008-04-29 Thread Dominic Watson
> However, I realised !DOCTYPE was in my Applications.cfm, so excluding that > from not to affacting staffData.cfc seems to have resolved the problem Did you figure out *why* this causes the problem? Basically, the ajax javascript takes the output of the request (your remote cfc call) and uses t

Re: cfinput autosuggest froma database query

2008-04-28 Thread Kamru Miah
Yes, I have tried an array to start with but changed it to string afterwards - no difference. However, I realised !DOCTYPE was in my Applications.cfm, so excluding that from not to affacting staffData.cfc seems to have resolved the problem. Thanks for your suggestion. ~~~

Re: cfinput autosuggest froma database query

2008-04-28 Thread Dominic Watson
Have you tried returning an array? i.e. I think both should work but give that a try if you haven't already. Dominic -- Blog it up: http://fusion.dominicwatson.co.uk ~| Adobe® ColdFusion® 8 software 8 is the most important a

cfinput autosuggest froma database query

2008-04-28 Thread Kamru Miah
Hi everyone, I am trying to use a cfinput autosuggest from a database query via a CFC. The code example is given below. The CFC returns a list, but it doesn't get populated to a drop-down list (but it does if I hard-coded a list!). Any idea why? Kamru -- index.cfm: --- staffData.cfc: