download jquery from http://jquery.com
include it in your page using <script src="path/to/jquery.js"></script>

$.post( String url, Map data, Function callback ) returns XMLHttpRequest
- a high-level jQuery ajax POST call. It calls a remote page using an
HTTP POST request, without refreshing current page. It allows a single
callback function to be specified that will be executed when the request
is complete (and only if the response has a successful response code).
This function accepts one argument - data returned by the page the POST
request was sent to. So, in your case, on the POST page you will
probably process the form, save the form data somewhere (db, session
var, etc) and return a "Data saved!"  if form processing and saving was
successful, or "Error: could not save data! (+ maybe some error
description?)" if there were errors processing the form data... or
something similar...

serializeArray() is a jQuery function that serializes forms and form
elements and returns a JSON data structure for you to work with.

$("form").serializeArray() applies serializeArray() function to a FORM
element in your page. [note: if you have several forms in your page it
ill serialize ALL of them! in this case use
$("#your_form_id_attribute_value") instead of $("form").]

the onclick event of submit button calls a js function that fires the
above jQuery stuff... make sure this function has return false; at the
end, or your form's regular submit even will fire!

hth

Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/



Gonzo Rock wrote:
> perhaps more... we are re-distributors of the republican kind ;)
>
> still exploring Azadi's jQuery techniques... though I don't have jQuery ;-(
>
> On Tue, Nov 11, 2008 at 10:28 PM, Brad Wood <[EMAIL PROTECTED]> wrote:
>
>   
>> Let me guess, there will be a one dollar processing charge per member to
>> send the payment?  :)
>>
>> ~Brad
>>
>> ----- Original Message -----
>> From: "Gonzo Rock" <[EMAIL PROTECTED]>
>> To: "cf-talk" <[email protected]>
>> Sent: Wednesday, November 12, 2008 12:24 AM
>> Subject: Re: Disable <cfinput submit processing? How to?
>>
>>
>>     
>>> ummmm... we are going to redistribute it across all 64,000 cftalk
>>>       
>> members?
>>     
>>> On Tue, Nov 11, 2008 at 10:01 PM, Brad Wood <[EMAIL PROTECTED]> wrote:
>>>
>>>       
>>>>> the $64,000 question is...
>>>>>           
>>>> So how do we get to split the 64 grand?  :)
>>>>
>>>> ~Brad
>>>>         

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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315133
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to