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

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.