Since I can't use coldfusion "autosuggest" with Railo, I need help in getting this to work with bootstrap typeahead and any help is appreciated!
The following is example code that works but is not dynamic. I need to integrate the query below.
placeholder="What's your favorite US State?"
How can I get the results of a cfquery to populate the bootstrap typeahead? Code examples appreciated!
var dataset = ['Alabama', 'Alaska', 'Arizona', 'Arkansas', 'California', 'Colorado', 'Connecticut', 'Delaware', 'District of Columbia', 'Florida'];
<cfquery datasource="myds" name="data">
WHERE Trim(ID) LIKE Trim('#ARGUMENTS.search#%'
ORDER BY ID