> <%= f.text_area :content, {onkeyup="strcount(1);chngcnt(1);" > onkeydown="chngcnt(1);" onblur="chngcnt(1);" onfocus="chngcnt(1);} %>
The errors come from Ruby - inside the <%%> tag - not from Javascript. Google for [ruby option hash], and compare it to what you wrote. You need more symbols and arrows in there... --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---