I want an AJAX form to become part of the page when an item is clicked
(I have this part working.)
However, I am stumped at what should be really easy. I want my form
to have a “save” and a “cancel” button.
I have the “save” button working just fine.
The “cancel” basically calls a “cancel” action that replaces the AJAX
form with what was there. (or at least that is what it does in my
Do I have to create a second form that only has the cancel button in
it? Or do I need to style both buttons as links? Or is there a
Thanks in advance,