Looking to Build/Redesign a Website or Blog ?

To speak to Rakshit, call +91 968 704 2303

Move (Copy) Div from one place to another using jQuery

Hello Friends,

jQuery is very useful while you develop any web application. Whatever you can do with jQuery is not enough, you should know much more and implement more and more with jQuery. Yesterday i need to move one of my "Pending" record to "Paid" records section once i click on selectbox and change the record to "Paid" status. I can do it by creating new HTML and append it to paid records list. But i came to know about Clone functionality of jQuery. There are two possiblility in Clone function of jQuery. If you want to keep the Div at their place and create the same Div at some other place than you can go for Clone. If you want to Move the Div from one place to another than use appendTo. Look at below syntax.


If you find any problem in this than let me know by comment.

No Comments Yet.

Leave a Reply

Your email address will not be published.