>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: 33126



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: 616
Unique Hits: 514


  Daily Weekly Monthly
  Unique Total Unique Total Unique Total
Average 0.9 0.9 4.3 5.1 25 30.1
Current 0 0 0 0 0 0
Previous 0 0 9 9 32 39
Nov 29 1 1 8 10 24 28
Nov 28 0 0 0 0 26 33
Nov 27 2 2 7 9 31 39
Nov 26 1 1 0 0 16 17
Nov 25 5 5 6 8 30 33
Nov 24 0 0 0 0 0 0
Nov 23 0 0 8 10 49 61
Nov 22 0 0 5 5 42 51
Highest 5 7 16 21 49 61


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