Javascript – Toggle Visibility

Javascript code:

HTML:

Example:
Please click here.