Pål Bergström wrote:
> I need some help with iPhone. I use iui but I don't understand the
> basics. It seems that I can't do a simple update of a post using Ajax.
> Is that done for you?
> 
> What if I want to delete a post in the db, from a "show" view. How do I
> write the delete link and the method? How do I get back to the view I
> want after that.

Got it working using a normal link_to and target _replace. But I the 
"backButton" has the wrong innerHTML and href. How can I change that? 
Can I add some variables to the link_to?
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to