Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript How-To
Javascript How-To Ask your "How do I do this with Javascript?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old January 25th, 2005, 06:05 PM
Authorized User
Join Date: Dec 2004
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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!

Old January 26th, 2005, 05:06 AM
joefawcett's Avatar
Wrox Author
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts

This link may help, most of it will work in other modern browsers. http://msdn.microsoft.com/library/de...asp?frame=true

You can also use the non-table specific functions you mentioned, show us some code that doesn't work.


Joe (Microsoft MVP - XML)

Similar Threads
Thread Thread Starter Forum Replies Last Post
Appending set of elements after the similar nodes sesath XSLT 2 May 15th, 2007 10:16 AM
Appending child nodes to a RDF/OWL file using xslt sesath XSLT 2 May 10th, 2007 04:37 AM
Pushing particular Nodes inside an element ROCXY XSLT 2 January 3rd, 2006 12:21 PM
Grouping stand alone nodes inside an element Bala007 XSLT 2 December 30th, 2005 02:25 PM
Appending 15 tables in Access2000 using VBA ckentebe Access VBA 2 April 14th, 2004 08:53 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.