Avatar

Level 3

Dear Cédric, thank you for your kind reply. I get TypeError: ctx.content.getElements is not a function However I can do:

 

for(var i=0;i<ctx.content.child.length();i++){
  ctx.test.child[i] = ctx.content.child[i]
 // ctx.content.removeChild(ctx.content.child[i])
}

 

and ctx.test is populated, hower removeChild causes the same type of error. ctx.content.appendChild(<child ... />) seems to work fine thought. The mysterium deepens...