Forum: Ruby on Rails textarea clear in RJS stopped working with 2.1.1

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
dino d. (Guest)
on 2008-12-19 14:17
(Received via mailing list)
Hi - I have an RJS that says

page["textarea_id"].clear that works fine with rails 2.0.2 but is
broken with 2.1.1  - I get an error message:

ActionView::TemplateError (undefined method `[]' for

So, how do I clear a text_area now?  Also, is there a reference for
page somewhere?

This topic is locked and can not be replied to.