Michael Winter wrote:
On Tue, 3 Feb 2004 17:52:10 +0000 (UTC), John <No******@noaddress.com>
wrote:
var tmpelem;
tmpelem=document.getElementById("MyTableId");
tmpelem.select();
doesnt work - any ideas how I can get around this? I only want to
highlight the table and all child nodes.
That's because there isn't a select() method for tables.
I don't believe there is any way (at all) to do this, let alone any
standard way.
Mike
It depends on what exactly the poster want to achieve. FWIW, Mozilla
Composer can "select" and highlight any number of table cells
(contiguous or not; adjacent or not) or any number of table rows or any
number of table columns. Even the table column/row structure could be
imported or exported. There are already mecanisms in Mozilla Composer
which allow this to be done.
It has been said before (I can't find the source but I'm searching) that
an entirely W3C web standards compliant HTML document could interoperate
with a W3C web standards compliant software or applications of type
spreadsheet so that data could be imported and/or exported from one to
the other and/or converted into another format (like a spreadsheet
format). Only high degree of compliance to standards would make this
possible.
DU