sunny wrote:
> I need to count the number of words in fckeditor using javascript

Did you make any effort to search this out for yourself. There are 
plenty of examples of this to be found using a simple Google search.

Google: javascript word count

And to get you started you could base a solution around:
my_text_field.split(/\s/).length
-- 
Posted via http://www.ruby-forum.com/.

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to