Alberto B. wrote in post #965480:
> I want to update the div (datos), the title works well.
> I don't know why the option "remote => true" does not works.
>
> A greeting.
> Thanks.
Look here: http://www.ruby-forum.com/topic/211467
Cheers
ace
--
Posted via http://www.ruby-forum.com/.
--
You re
I want to update the div (datos), the title works well.
I don't know why the option "remote => true" does not works.
A greeting.
Thanks.
--
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
On Dec 1, 2010, at 12:45 PM, pepe wrote:
The title variable is to change the title when the page is refreshed.
I believe you are a little lost about how the whole thing works. At
first you said you wanted to change the contents of 'datos' but now
you say you want to change the contents of the
> The title variable is to change the title when the page is refreshed.
I believe you are a little lost about how the whole thing works. At
first you said you wanted to change the contents of 'datos' but now
you say you want to change the contents of the tag . I'll
assume from now on it is the lat
The title variable is to change the title when the page is refreshed.
What you're doing with link_to_remote is what I want it.
The problem is that Rails 3 does not work the "remote => true" in the
"link_.to" and is supposed to be the equivalent of link_to_remote in
Rails 2.
And if I remove the o
Hi,
I have not used Rails 3 yet and I see by your link_to helper that's
what you are using. Sorry if I can't be of much help, but I'll try to
point out what I see here that _could_ be wrong.
div class="menu_activado">
<% = link_to "Link", about_path,: remote => true%>
I am assum
Hello Guest,
This is my full code, I want to update "datos", without the :remote =>
true the div is updated but the full page, and it does nothing.
application.html.erb
<%= title %>
<%= csrf_meta_tag %>
<%= render 'layouts/stylesheets' %>
<%= javascript_include_tag :default
I might be blind, but I can't see a tag anywhere. I think your
snippet should also contain controller code to be able to see what
might be going on.
On Nov 30, 5:33 am, "Alberto B." wrote:
> I want to update a div on my page with prototype (new Ajax.Updater
> ('my_div', 'page.html')).
> What I d
8 matches
Mail list logo