This is the example page given in the article posted on October 3 2009: Two useful Javascripts in showing and hiding text and adding to a textbox on click . Right click the page and click "View source" to see the full source code.


Show and hide text

Click here to show/hide the text below.


Add to textbox

Click each of the numbers below to see what happens.

Textbox:

#1, #2, #3, #4, #5, A short sentence