Solved.
<%= f.label :content %><br />
<%= f.text_area :content,
:id=>"message1",:onkeyup=>"strcount(1);chngcnt(1);"
,:onkeydown=>"chngcnt(1);" ,:onblur=>"chngcnt(1);",
:onfocus=>"chngcnt(1);" %>
</p>
Thanks.
--
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
-~----------~----~----~----~------~----~------~--~---