Ajax form helpers

Hello everybody,

I read about the for helpers

  1. submit_to_remote
  2. form_remote_tag
  3. link_to_remote
  4. form_for

I’m confused about which one to use and when, please can anyone help
me understand them
thanks

On 13 Jan 2008, at 05:57, nettome wrote:

Hello everybody,

I read about the for helpers

  1. submit_to_remote
  2. form_remote_tag
  3. link_to_remote
  4. form_for

form_for isn’t an ajax helper. It’s just for building regular forms
link_to_remote is your basic ajax helper. it creates a link which when
clicked makes an ajax request
form_remote_tag creates a form that will submit over ajax (see also
form_remote_for, same as form_remote_ag bt with form_for semantics)
submit_to_remote creaes a button that will submit its form via an ajax
request

Fred

www.gotapi.com/rubyrails

On Jan 13, 7:44 am, Frederick C. [email protected]

thanks a lot
I would look into it

Also http://noobkit.com I find that it can be better documented than
gotapi.com sometimes. Also includes “edge” stuff.

On Jan 14, 2008 2:56 PM, nettome [email protected] wrote:

On 13 Jan 2008, at 05:57, nettome wrote:
form_for isn’t an ajax helper. It’s just for building regular forms

me understand them
thanks


Ryan B.

Feel free to add me to MSN and/or GTalk as this email.