> 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.