ColdFusion autosuggest in text field is not responsive -
I have a text field that I want to automatically adjust values based on a query. I have a separate file (getdata.cfc) in which my query is present
This is the text field part of my main file:
& lt; Cfinput name = "search_query" autosuggest = "url: getdata.cfc? Suggestvalue = {cfautosuggestvalue}" Maxxeltsdisplay = "10" shoetoscience loading icon = "true" size = "10" /> This is the code in getdata.cfc:
& Lt; / Cffunction & gt; & Lt; / Cfcomponent & gt; The text field looks fine, but when I do not type a word in which no auto autosuggest value is displayed. nothing happen. The text is displayed just as visible to me.
Any suggestions? Thanks!
I have stopped using jquery plugins from a lot of CF stuff, but here's a For example, I have some old production code
Also make sure that you have your cfform tag around your form, and make sure your / cfide folder is on your website Has been mapped on.
To view and compare your code ... This may be the way to call CFC (filename)
Try: autosuggest = "cfc: getdata.get_data" . ({Cfautosuggestvalue}) "
Comments
Post a Comment