Raghu
02-18-2005, 12:06 AM
Hi,
In the following snippet I copy an element to node. then I create attribute for clone is produce error. Please give me your suggestions
var clone = path.cloneNode(false);
var markerAttribute = clone.createAttribute('marker-end');
markerAttribute.setValue("#arrowHead");
clone.setAttributeNode(markerAttribute);
:cry:
In the following snippet I copy an element to node. then I create attribute for clone is produce error. Please give me your suggestions
var clone = path.cloneNode(false);
var markerAttribute = clone.createAttribute('marker-end');
markerAttribute.setValue("#arrowHead");
clone.setAttributeNode(markerAttribute);
:cry: