ajax submit form

2008-04-17 Thread Chad Gray
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

Re: ajax submit form

2008-04-17 Thread Matt Williams
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

RE: ajax submit form

2008-04-17 Thread Chad Gray
=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

Re: ajax submit form

2008-04-17 Thread Kay Smoljak
On Thu, Apr 17, 2008 at 10:44 PM, Matt Williams [EMAIL PROTECTED] wrote: 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

Re: ajax submit form

2008-04-17 Thread Rey Bango
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

RE: ajax submit form

2008-04-17 Thread Chad Gray
:[EMAIL PROTECTED] Sent: Thursday, April 17, 2008 12:23 PM To: CF-Talk Subject: Re: ajax submit form Hi Chad, You'll hear some good advice about properly using Ajax-based technologies and the advice I can give you is to look at progressive enhancement. It's ensuring that your application works

Re: ajax submit form

2008-04-17 Thread Azadi Saryev
i think the easiest way to do it is to have a cfform in a cfdiv (i.e. via bind) - the form submits to the cfdiv then, without refreshing the page containing the cfdiv. Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ Chad Gray wrote: There are so many options it seems to use Ajax now in

Re: ajax submit form

2008-04-17 Thread Don L
Guess I should have explained since the topic is shifting this direction. I don't have to worry about whether their JS is turned on. It is for a Intranet web site that I have control over what browsers and browser settings are being used. I just need to find the best functions in CF8

RE: ajax submit form

2008-04-17 Thread Chad Gray
I finally got what I wanted. Now my question is if the user types in to the search and hits the enter button it submits the form. It does not launch my javascript that is on the button. Is there any way so when the user hits enter to have the button clicked so my javascript is fired and the

Re: ajax submit form

2008-04-17 Thread Claude Schneegans
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. I've done something similar without Ajax. There are two main problems if you do it in Ajax: 1ยบ robots like Google do not see the sub pages your site