Hey all,

Would it be possible to have a webpage with normal HTML, but make it so the user can highlight some text, click a button and make it perform a word count on the selected text and disply the number of words in an alert()?

Thanks