Forum: Ruby on Rails page.insert_html and the :text argument

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Frederik Fix (Guest)
on 2006-03-22 02:03
(Received via mailing list)
Hi,
I've got a problem with .rjs templates. When I do
page.insert_html :bottom, 'stylist_tablebox', :text => "what ever"
This is what I get:
new Insertion.Bottom('stylist_tablebox', null);

I tried this on Edge rails revision 3860 in an inline rjs update.

Thanks in advance,
Frederik
Chris H. (Guest)
on 2006-03-22 02:52
(Received via mailing list)
try page.insert_html :bottom, "stylist_tablebox", "whatever"
This topic is locked and can not be replied to.