simonchristieis
Programmer
I am trying to create a vml element, and set it's target sttribute to _blank, however theis attribute is not being set.
I have recently changed from using innerHtml to create the vml which worked, but wanted to use dom.
any ideas anyone?
Simon
I have recently changed from using innerHtml to create the vml which worked, but wanted to use dom.
any ideas anyone?
Simon
Code:
<snipped>
var vml = document.createElement("v:roundrect");
cell[cellCount].appendChild(vml)
vml.href = nH.item(lID).attributes.getNamedItem("url").value;
vml.target = "_blank";
vml.style.width = "10pt";
vml.style.height = "8pt";
vml.fillcolor = fColor;