On 26 feb, 15:33, Gavin <[email protected]> wrote:
> The JS function you've given seems fine to though and for such a
> simple operation, I'd probably just go with that.
> By including <%= javascript_include_tag :defaults %> you'll also have
> access to the application.js file in your public/javascripts dir.
> You can pop the js in there to keep it out of the view.
>
> Hope that helps?
Hi Gavin,
to be honest, I started with an ajax and a js-partial, but I could not
get the js-partial working. So I thought ajax was maybe not the way to
solve this. I wil try your link first. Maybe I'll find there an
explanation what I should have done.
Thanks for your pointer,
Ruud
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---