[thelist] appendchild problem

Matias Woloski woloski at sion.com
Mon Nov 5 20:21:52 CST 2001

hi! I'm working with IE 5.5 and wanted to do this

div1.appendChild div2.removeNode(true)

This will remove the div2 with all its children (removeNode boolean
parameter in true). This returns the element removed, so I append it to the
div1. But when the appendchild executes, IE raises this error

	"Unexpected call to method or property access"

This is the html

<div id="div1">

<div id="div2">
<form id=...>
	blah bla
	<input ...

Someone knows what is happening? Is there another way to do it?
thanks in advance,

More information about the thelist mailing list