search for: note_list

Displaying 1 result from an estimated 1 matches for "note_list".

2006 Jul 20
3
AJAX Form, :postion => :bottom but replace when error?
...e a form below a table to add new notes to an item. If the note does not have a title or body, the note is not saved and a form error is displayed. However, if the note validates successfully, then the note is added to the bottom of the table above. Just for reference, the table id is "note_list" and the add form div is id="note_add_form". So, my problem/question is. Upon success, I want to update note_list appending to the bottom of the table, however, upon failure, I want to replace note_list *not* append to the bottom of it. I can do something like this: :update =&...