Home jquery Copy data in Html from one div to another div

Copy data in Html from one div to another div

256
0
SHARE
Copy data in Html from one div to another div

Today, I am going to share with you that how to copy data or make clone from any div to copy it another field. You can use it to add data from one field to another field using javascript, jquery has a function name clone that can create specific field data clone exactly same like original.

Here I will show to how jquery clone() function works and how to use it.

By using clone() function in jquery you can create clone in HTML. You can copy html data from one place to another place.

Often when creating a form on a web page, you need your customers to fill out a field such as a mailing address, as well as a billing address. Instead of having your customers fill out the form twice, you can use JavaScript to copy the form’s data from one field to another.

This is How you can use JavaScript To Copy Text From One Field To Another.

JavaScript :-

Html :-

LEAVE A REPLY

Please enter your comment!
Please enter your name here