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:
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.