WebFX WebBoard
Message Thread:
View All Messages
Back to WebFX
 appendchild problem, Santi, October 20, 2004

Subject: appendchild problem From: Santi Date: October 20, 2004

Hello,

  I have a problem with the appendchild DOM method when trying to append consecutive DIV nodes. After the code is executed I can find an undesired line break between the two DIVs. I'm using IE 5.5.

  The code misworking is this

var node1 = DIVNode.cloneNode(true); //a DIV node
var node2 = DIVNode.cloneNode(true); //a DIV node

TDNode.appendChild(node1);
TDNode.appendChild(node2);

  Can someone help me to work around it?

  Thank you in advance.




Reply
Name: 
Email: 
Subject: 

Enter your reply to this message below. HTML tags are not supported but words that start with http://, ftp:// or mailto: are converted to links.


View All Messages
Back to WebFX