Hi! I'm trying to add rows in a HTML table at the browser end. I plan to make use of the DOM2 functionalities like createElement, createTextNode etc., But using these methods I am able to create a para and text in it but i can't add a new row to a table. This is my complete code. Where do I miss out?
Hey! I had a tough time with this UBB. It was not allowing me to include the following piece of code for the BUTTON object's onclick method addNewEntryToTable ('111','222', '333') UBB cribs saying that it found a '<' and asks me to replace it with '<' I tried typing it here, but i can't. So I rephrased it as BUTTON object's onclick method [ January 23, 2003: Message edited by: Sudharsan G'rajan ]
Joined: Jul 03, 2002
I solved it. It seems we need to create a "TBODY" element and add the "TR" to it. And then, the TBODY object needs to be added (instead of adding the TR directly) to the TABLE object. -sudharsan