# So that I can keep track of what I'm writing I've added word counts to the garden pages using the PHP function str_word_count(). While editing a page I have a JavaScript function to return the count on the fly in response to the oninput event.

The two methods return slightly different values but it gives me a rough idea.

# A few tweaks to the JavaScript have gotten them a bit closer.

Leave a Reply

Your email address will not be published.