Here is the code:
To run the above code, you need to include the file 'prototype.js' which defines several functions. You can download this file from the site prototypejs.org
Output will be displayed as:
We have 1000s of tutorials on our website. Search Tutorials tutorials on our website.
Posted on: November 15, 2008 If you enjoyed this post then why not add us on Google+? Add us to your Circles