Ali

I'll suggest you to use jQuery. This javascript library haves very nice
autocomplete examples:

http://jquery.bassistance.de/autocomplete/
http://www.dyve.net/jquery/?autocomplete

Dan G. Switzer creates this(with ColdFusion in server side):
http://blog.pengoworks.com/index.cfm/2007/1/12/My-jQuery-Autocomplete-Mod

Cheers
Marco Antonio



On Feb 16, 2008 7:53 AM, Ali <[EMAIL PROTECTED]> wrote:

> Hi:
> I know about CF autosuggest ability in a cfinput tag but I need to use an
> autosuggest in normal input tag (not cftinput) and I want to read the
> suggestion list from a database query. As a matter of fact I want to have
> something like the following code but with FORM/INPUT not CFFOMR/CFINPUT.
> What do you suggest? Something easy please. I am a newbie.
> Thanks
> Ali
>
> <cfquery name="User" datasource="#Request.DSN#">
> SELECT *
> FROM Tbl_Users
> WHERE UserName LIKE '%#FORM.Search#%'
> </cfquery>
> <cfform name="form1" method="post" action="">
>  <div align="center">
>    <cfinput type="text"   size="20" name="Search"
> class="registrationForm_SRTL" autosuggest="#ValueList(User.UserName)#" >
>    <br>
>    <cfinput name="Submit" type="submit" class="registrationForm_SRTL"
> value="ÌÓÊÌæ">
>  </div>
> </cfform>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:299188
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to