W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2002

DOM HTMLTableElement issue

From: Van Den Bemt, Patrick (P.) <pvanden2@ford.com>
Date: Fri, 20 Sep 2002 10:52:58 -0400
Message-ID: <86308237A525D41183FB00D0B73EA65212272A46@war00027.warley.ford.com>
To: www-dom@w3.org

Hi there,

I try to apply following table setup

	function insRow()
	{
	var x=myTable.insertRow(myTable.rows)
	var y=x.insertCell(0)
	var z=x.insertCell(1)
	y.innerText="r1 NEW CELL1"
	z.innerText="r1 NEW CELL2"
	var x=myTable.insertRow(myTable.rows)
	var y=x.insertCell(0)
	var z=x.insertCell(1)
	y.innerText="r2 NEW CELL1"
	z.innerText="r2 NEW CELL2"
	}

But it seems as if R2 displays before R1.

Is there a property or method I should be using to revert row order ?

Patrick.
Received on Friday, 20 September 2002 11:00:48 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:56 GMT