How to clone an element using jquery?
To clone an element using jQuery, use the jQuery.clone() method. The clone() method clones matched DOM Elements and select the clones.
1. Code:
Soltuts.com
Click on any square below to see the result:
2. Example:
Run the program to get the result.