I have a form and a ul and the form is submitting a new li for the
unordered list. It puts the right info into the MySQL database, but it
won’t insert properly into the list. Also, the link to show the form
stops working and it just says [object XMLHttpRequest] where the form
used to be and the unordered list is unchanged.
The view: http://pastie.caboo.se/83457.txt (Pastie, for some odd reason,
repeated some commas and >'s (like , instead of , and =>>>>>>>>
instead of =>, hence the link to the txt version).
The method: http://pastie.caboo.se/83459
The partial used in add_todo_item:
=> ‘todo_item’, :id => @item %>
I really have no idea what is wrong and trying to use Firebug in Firefox
(I generally use Camino) is useless because it ignores using Ajax and
tries actually going to a page.
Thanks in advanced.