Does amazon stock these "magic AJAX wands"? :)
Sorry for the ambiguous question.
I looked up CFDivs and binding and there are possibilities here. I just need
to do some more reading.
<cfform>
<cfinput name="queryString" type="text" value="plates white">
</cfform>
<h3>Results</h3>
<cfdiv bind="url:searchTest.cfm?query={queryString}" id="theDiv">
-----Original Message-----
From: Matt Williams [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 17, 2008 10:45 AM
To: CF-Talk
Subject: Re: ajax submit form
On Thu, Apr 17, 2008 at 9:18 AM, Chad Gray <[EMAIL PROTECTED]> wrote:
> There are so many options it seems to use Ajax now in CF8.
>
> Here is what I want to do, what is the best way to achieve it?
>
> I have a search form that submits to an action page and displays results out
> of a database.
>
> I don't want to re-write my pages, I just want the submit to not refresh the
> page and return the results on the same page as the search form.
Hold a magic AJAX wand over your code and say the magic spell:
"Bawitdaba da bang a dang diggy diggy diggy said the boogy said up
jump the boogy"
Sorry. You will have some rewrite to do and unfortunately there is not
a "best" way. You need to look at cfajaxproxy. There are many other
ways to do this without using CF8's ajax abilities too but using a
javascript library such as scriptaculous, prototype or jQuery.
--
Matt Williams
"It's the question that drives us."
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:303671
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4