Hi:
Is it possible to reference a table which contains a select list that
has an event handler that modifies the table, without using the table
ID?
Example: <table id="SearchTable ">
event handler in select list is
onChange="addTa bleRow('SearchT able')"
And in addTableRow(), I have the following code:
var tbl = document.getEle mentById(which) ;
// etc, etc, works fine BUT, is
// there a component of the DOM that allows me to reference
// the table as a parent?
If so, pointers and URLs to appropriate documentation would
suffice.
Thanks
tim
Is it possible to reference a table which contains a select list that
has an event handler that modifies the table, without using the table
ID?
Example: <table id="SearchTable ">
event handler in select list is
onChange="addTa bleRow('SearchT able')"
And in addTableRow(), I have the following code:
var tbl = document.getEle mentById(which) ;
// etc, etc, works fine BUT, is
// there a component of the DOM that allows me to reference
// the table as a parent?
If so, pointers and URLs to appropriate documentation would
suffice.
Thanks
tim
Comment