Monday, June 28, 2010

[Rails] Re: Rails3 Jquery link_to

Ok I think I'm 1/2 their - I got something to load on the rjs
template-
$("#content").html("fish");
Which renders html inside the content tag...
But it just will render a plain tag for fish - not html code e.g. <h1>
fish</h1>

But I think ideally it would render the same index.html.erb file so I
wouldn't have to maintain code in 2 places. Any suggestions how to do
that?

--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate