egoduk (AT) hotmail (DOT) com (Edward) writes:
Quote:
Is there a way to restrict the check_boxes function to its related
table? |
Yes.
Quote:
A document.table_id DOM object would seem to be the answer, but I can
find a reference to a table object. |
Use:
var table = document.getElementById("table_id");
To find all the elements with the correct name inside that table, then
do:
var elems = table.getElementsByName("checkboxes_name");
That gives a collection of the elements inside the tabel, that has
the name "checkboxes_name".
Obviously, it requies the browser to support these W3C DOM methods,
which rules out Netscape 4 and IE 4.
/L
--
Lasse Reichstein Nielsen - lrn (AT) hotpop (DOT) com
DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleDOM.html>
'Faith without judgement merely degrades the spirit divine.'