In article <40841568$0$203$>,
enlightened us with...
> Thank you for the reply!! However, both of the issues you mentioned are
> taken care of on my live page. I was using that html/javascript as an
> example. What I am looking for is an alternative to using innerhtml as
> to avoid the internet explorer error. Talk to you soon.
>
Use real DOM methods as applicable. See createElement, appendChild,
createTextNode, etc.
http://msdn.microsoft.com/library/default.asp?
url=/workshop/author/dhtml/reference/dhtml_reference_entry.asp
function addvalue(someNode)
{
myNewElement = document.createElement("div");
myNewElement.setAttribute("id","mydiv2");
someNode.appendChild(myNewElement);
}
e = document.getElementById("someDiv");
addValue(e);
--
--
~kaeli~
The Bermuda Triangle got tired of warm weather. It moved to
Finland. Now Santa Claus is missing.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace