innerHTML cloning - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

innerHTML cloning

makrandubalemakrandubale Posts: 1Member
Hi..... i am using YUI for developing drag and drop ....i have a problem with assigning innerHTML property.... i am developing a drag nd drop functionality.. the following is the structure of the document:

1) parent_DIV
2) child_DIV_1 and child_DIV_2

The drag and drop functionality works fine... the "child_DIV_1" has a icon to mimimize/maximize "child_DIV_2"... but after drag and drop the new location "child_DIV_1" still performs the action on OLD "child_DIV_1".... this is because i am directly assigning the oldParent's innerHTML to new one.... how do i solve this problem??

I HAVE USED THE cloneNode().. THE BUG STILL PERSISTS

Sign In or Register to comment.