Blech....I got my script to work....I really didn't want to do it this way...but after all the farting around I've done trying to get IE to work, I guess I'm left with little choice...I used *shudder* innerHTML to get the job done, and just put the buttons in directly...lika so...
if(navigator.appName == "Microsoft Internet Explorer"){
newLI.appendChild(newText);
newUL.appendChild(newLI);
location.appendChild(newUL);
var button1 = "<button onclick = \'" + dirButtonEvent + "\'>" + dirText +
"</button>"
var button2 = "<button onclick = \'" + fileButtonEvent + "\'>" +
fileText + "</button>"
var button3 = "<button onclick = \'" + removeButtonEvent + "\'>" +
removeText + "</button>"
newLI.innerHTML = dirName + button1 + button2 + button3
}
else{
//set the onclick attributes
newDirButton.setAttribute("onClick", dirButtonEvent);
newFileButton.setAttribute("onClick", fileButtonEvent);
newRemoveButton.setAttribute("onClick", removeButtonEvent);
//append the text and button nodes to li, and then append li to the ul
newLI.appendChild(newText);
newLI.appendChild(newDirButton);
newLI.appendChild(newFileButton);
newLI.appendChild(newRemoveButton);
newUL.appendChild(newLI);
location.appendChild(newUL);
}
I'm not proud of it...and it grossly goes against standards...but it works....Thanks for the help Agent....now I need to go take a shower...