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: Parked at Loopia (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: Parked at Loopia
The partial used in add_todo_item:
=> ‘todo_item’, :id => @item %>
The javascript update function: Parked at Loopia
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.