Andy,

I'm assuming (and please tell me if I'm wrong here, Rick) that Rick is just using this as an example to get himself comfortable with Ajax concepts. Have I read too much into your post Rick?

Btw, Rick, I'm writing a response, but work just stepped in the way again so I've had to put it on hold for the moment. Hopefully, you won't have to wait too long for help from me or anyone else who wants to take a crack at helping you out. :o)

Cheers,
Chris

Andy Matthews wrote:
Rick...
To be honest, if you're just performing calculations on the values from the form fields, you don't even need an AJAX call. Just do the math in javascript. It'll be faster and seem more responsive to the user.

------------------------------------------------------------------------
*From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On Behalf Of *Rick Faircloth
*Sent:* Wednesday, February 28, 2007 3:31 PM
*To:* 'jQuery Discussion.'
*Subject:* [jQuery] Need some guidance...

Hi, all...

I've just started using jQuery recently and now

I'm trying to understand how to use it with AJAX

and I just don't know enough about how it works

to get started on a fairly simple app.  The sample app I've

been tinkering with sends a URL variable for a User_ID

using AJAX to a CF page, which runs a query and

returns the info to the calling page and appends

it to the body.  I'd like to send results back to the

form fields, as well as the calculated result.

I just don't have a clue how to set this up.

I have a mortgage calculator and I want the user

to be able to enter the principal, interest rate,

and duration in years, then run a calculation on it

and return the result.

I've set this up in a regular form that submits back

to the page it's on and it works fine.  It's coded in CF.

I'd like to be able to calculate and return the results using AJAX.

I've worked some very simple code using AJAX (actually

it was given to me), but I have no idea how to code for

the above scenario.

Would anyone care to give this CF'er some guidance

on creating this small jQuery/CF/AJAX app?

Thanks for any help!

Rick

------------------------------------------------------------------------

_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

--
http://www.cjordan.us

_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to