Here is an example of how to combine the script that removes extra
spaces between words and trailing spaces (and commas)
and turns all letters into UPPER CASE (but not extra initial spaces) with simple button that
checks the answer to an exercise.

The predetermined answer is is 'YOUR ANSWER', but you can put this in upper or lower case, put various spaces between and after the words. Using this script,  those taking a drill will not need to be so careful about extra spaces or capitalizing correctly.

Put your text Here. 
See transformed word that will be checked here.



  Hit Counter hits since Dec. 10, 1999. Copyright Dec. 1999 Jean Alvares

Click here to go back to the extra space removal script.
 

Back to my Guide to Javascripts page