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:
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