Hi everybody !
I’m newbie to rails. I have a problem to display the Textarea.
As I got some value from mysql database and load this value in a text
By defualt the scroll bar for the text area is at the top like in
browsers. But I want the scroll bar of the text area at the bottom like
in yahoo & gmail chats ( I mean I want to see the last line of the
textarea at first. If want to see the first line, then I have to scroll
to the top.)
Is it possible. The code I used for the textarea as follows.
<% @message.each do |ms| %> <%= ms.content -%> <%end%>
Where @message = Message.find(:all)
Thanks in advance.