Test the code using the textarea element above. If you want to grab the code, use the jsFiddle link below.
← Read the full article/tutorial | View jsFiddle