Javascript Show/Hide <DIV> Code Snippet

Here's a simple little script that allows you to take the contents of a <DIV> tag on your web page, hide the contents, then show them when a user clicks the hyperlink. I use this frequently on my websites. In this script, I included an open and closed arrow with this example as well.

Example:
show hide my div tag SHOW/HIDE MY HIDDEN DIV TAG


Code: Copy/Paste the following code into your website: