I have following code. I have included the javascript file at the top of
page. Still it is giving errors
CODE:
<%= f.label :content %>
<%= f.text_area :content, {onkeyup="strcount(1);chngcnt(1);"
onkeydown="chngcnt(1);" onblur="chngcnt(1);" onfocus="chngcnt(1);} %>
ERROR:
compile error
/home/abc/Desktop/workspace/group_paging/app/views/messages/new.html.erb:12:
odd number list for Hash
…ount(1);chngcnt(1);" onkeydown=“chngcnt(1);” onblur="chngcnt…
Please help me in calling the javascript function on following events.
Where Am I wrong ?