Re: Call Javascript

Intern ruby
Mon, 06 Apr 2009 18:45:39 -0000

Solved.


<%= f.label :content %>
    <%= f.text_area :content,
:id=>"message1",:onkeyup=>"strcount(1);chngcnt(1);"
,:onkeydown=>"chngcnt(1);" ,:onblur=>"chngcnt(1);",
:onfocus=>"chngcnt(1);" %>



Thanks.
--
Posted via http://www.ruby-forum.com/.