[jQuery] this.parentNode has no properties

2008-01-21 Thread Goldielocks
Hi, I am creating a number of divs dynamically which are all draggable. The divs can be dropped in two different areas (#editDiv and #deleteDiv). On drop on #deleteDiv I get "this.parentNode has no properties" straight away. On drop on #editDiv it works fine when I drop the first div. If I dr

[jQuery] this.parentNode has no properties

2008-01-21 Thread Goldielocks
Hi, I am creating a number of divs dynamically which are all draggable. The divs can be dropped in two different areas (#editDiv and #deleteDiv). On drop on #deleteDiv I get "this.parentNode has no properties" straight away. On drop on #editDiv it works fine when I drop the first div. If I dr