I am using prototype 1.6.1. I am adding a child div with id B to a
parent div with id A. Then a while later I remove B.
$('A').insert(html for div B,'top');
This works fine the first time. But when I insert the div B a second
time then remove it, I get an error in firefox:
$('B').parentnode is null.
If I look into $('A').innerHTML just before removing B though I can
see it there.
The problem only shows up in firefox (in several versions like 3.6.8
or 3.0.14). On IE8 it works fine.
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to
For more options, visit this group at