AJAX: link_to_remote creates a post request

You are looking for link_to_remote that will give you the ability to show/hide a div.

Here is an example to just show a div

link_to_function("show form", nil) { |page| page.visual_effect :toggle_blind, 'form_div' }

If you want you can have a hide link inside the div that his hidden so they can close the form again..

Thanks guys, major brain malfunction there!