// this is actually defined somewhere else
var strDivHeight = "95%";
// create object, div
var d = document.createElement("DIV");
d.style.height = eval ('"' + strDivHeight + '"');
Works.
But...
eval() is evil, so the saying goes.
Am I also able to get rid of eval() in *this* case?
The suspense grows....:p