Hi,
I have a javascript object, but to make it work I need to pass a reference to the object that contains the current object in the constructor.
For example, if it is contained just within the body of the html document, I can pass document.body fine, but the problem arises when I put it into a table. It is contained, ultimately, by <td> tags but obviously <tr> then <table> come before that.
Anyone have any ideas how I can reference the containing object if it is a table?
Thanks
I have a javascript object, but to make it work I need to pass a reference to the object that contains the current object in the constructor.
For example, if it is contained just within the body of the html document, I can pass document.body fine, but the problem arises when I put it into a table. It is contained, ultimately, by <td> tags but obviously <tr> then <table> come before that.
Anyone have any ideas how I can reference the containing object if it is a table?
Thanks