try this link, is this what you are looking for? http://cssglobe.com/lab/charcount/01.html
You will find complete implementation details and link to download here http://cssglobe.com/post/7161/jquery-plugin-simplest-twitterlike-dynamic-character-count-for-textareas Gautam Pai On Wed, Dec 21, 2011 at 8:16 PM, Greg Akins <angryg...@gmail.com> wrote: > > Jay Chaun wrote in post #1037174: > /views/foos/ > >> > >> But I do not know how to add something so when a letter is typed in a > >> textarea inside the form generated by form_for method that home.js.erb > >> will process. > >> > >> Could someone help me out here? > > Check out JQuery for this. I don't have any specific examples, but > you need to have javascript react to onclick. I think if you use the > form_for submit tag, you'll need to submit the form to get the results > you want. > > However, I believe you only want to query for characters during typing > and do something different when you submit the form. > > -- > Greg Akins > http://twitter.com/akinsgre > > -- > 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. > > -- 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.