Textarea clear in RJS stopped working with 2.1.1


#1

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
#Enumerable::Enumerator:0x2b31d31cc598)

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

Thanks,
Dino