Copy to Page
This snippet will copy text entered into a form field and place it directly on the Web page.
Disable the Submit Button
Sometimes it is a good idea to disable the submit button so that the user cannot make multiple submissions. This snippet will do the trick. Very easy to use.
JavaScript Includes
When you start using Prototype, Scriptaculous, and other JavaScript libraries, you often end up with a dozen lines of script tags pulling in all of the code from different places. That would be fine if you never added a new library or never needed to swapped them out. This script will create a single JavaScript loader for each project that contains all of the scripts necessary.
Removing Nodes Using the DOM
You can remove existing nodes using the DOM. The
removeChild method allows any node to remove one of its child nodes. Simply pass a reference to the node you wish to remove. Any text or elements within the node being removed will be removed along with it.

]
]
]
Choose language