>All Tutorials 
Ajax and .NET Ajax and .NET RSS XML
Ajax and ColdFusion Ajax and ColdFusion RSS XML
Ajax and Java Ajax and Java RSS XML
Ajax and PHP Ajax and PHP RSS XML
Ajax and SOA Ajax and SOA RSS XML
Ajax Goodies Ajax Goodies RSS XML
Ajax Tool Ajax Tool RSS XML
Facebook MockAjax Facebook MockAjax RSS XML
Google Web Toolkit Google Web Toolkit RSS XML
JavaScript Framework JavaScript Framework RSS XML
Ruby on Rails Ruby on Rails RSS XML
Technique Introduction Technique Introduction RSS XML
Without XMLHttpRequest Without XMLHttpRequest RSS XML
Yahoo! UI Yahoo! UI RSS XML

ColdFusion Ajax Tutorial 1: Auto-Suggest - rss coldfusion auto suggest data posted ajax artname

 
Registered tutorials: 501
Registered Users: 37908



Rating: 4.5 out of 2 votes cast


  
Category: Ajax and ColdFusion

ColdFusion Ajax Tutorial 1: Auto-Suggest

Digg this   Post to del.icio.us

Abstract: This tutorial shows how to use auto-suggest control in ColdFusion 8

I plan to post a series of examples demonstrating how to use the new Ajax functionality in ColdFusion 8 (many based on examples used during our recent usergroup tour). The first one I'll start with is the auto-suggest control. Auto-suggest is a modified text input box, one that displays suggestions as the user types. The auto-suggest control in ColdFusion 8 can be used in two ways, with local client-side data, and with asynchronous calls back to ColdFusion.

Here's a simple client-side data example (which uses one of the CF8 example databases, so this should work for you as is):

<!--- Get data --->
<cfquery datasource="cfartgallery" name="data">
SELECT artname
FROM art
ORDER BY artname
</cfquery>

<!--- The form --->
<cfform>
Art:
<!--- Populate auto-suggest control --->
<cfinput type="text"
      name="artname"
      autosuggest="#ValueList(data.artname)#">

</cfform>

Read Full Tutorial...



Reviews:

Rate and Review This Site

No reviews yet


Statistic Information About this Resource:


Total Hits: 743
Unique Hits: 607


  Daily Weekly Monthly
  Unique Total Unique Total Unique Total
Average 1.1 1.8 5.4 7.5 25.2 31.6
Current 1 3 1 3 27 41
Previous 1 1 10 15 36 45
Feb 21 0 0 9 14 30 41
Feb 20 0 0 7 9 32 39
Feb 19 0 0 0 0 24 28
Feb 18 3 3 9 11 26 33
Feb 17 1 4 0 0 31 39
Feb 16 2 2 11 14 16 17
Feb 15 3 5 0 0 30 33
Feb 14 0 0 7 9 0 0
Highest 5 8 16 21 49 61


Script Execution Time: 0.14955 | SQL Queries: 10 | Members: 501
Ajax Tutorial Top List - Powered by Aardvark Topsites PHP 5.1.2