Appending new nodes inside tables in IE 6
I want to create a form with a table inside displaying info pulled from an XML file with PHP.
I pulled the info, created hidden form fields with PHP so that javascript can access the information stored in the XML file and now have a problem.
I need to be able to add nodes to the dom, I messed around learning to use the dom methods like createElement and appendElement() and insertBefore() etc., etc but have hit a problem.
Everything works fine in FireFox browser, but not in IE and it must as IE is going to be used to view this page... no other browser is available on my clients Intranet.
My experiments have shown me that I can append and insertBefore as many nodes as I like in IE6 until the cows come home... at least until I try and add nodes with-in a table.
Trying to insert new TRs or TDs does nothing in IE, but displays in FF.
What could be causing this? Is this known behaviour? Any help needed asap!
|