Sorry, I don't understand your problem.
You have a link to some ajax action. You click it and
get the ajax response. What would you mean with
"stay in the current controller"? After all html is a state less
protocol and you're never "in" a specific controller. Though
the navbar may tell you where the actual page came from, but
an ajax call doesn't change that.
And what exactly should "I get an error with pure javascript on the
page
when clicking on the next button...". So this error is your problem?
Then it would help tremendously if you would post that error.

--~--~---------~--~----~------------~-------~--~----~
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