Hi,

I have a text_area that fills in the text from a controller and I am
using RJS to update the text area content. I want to set the scroll bar
to bottom so that the user need not scroll to bottom to get the updated
value, how do I do that I tried

page["status"].scrollTop = page["status"].scrollHeight

This somehow does not work in the RJS

Thanks,
Sudhi
-- 
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 to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to