How can I find the name of the parent table from a table cell?
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.javascript archive

How can I find the name of the parent table from a table cell?

From: <jklimek@gmail.com>
Date: Tue Jun 21 2005 - 16:47:23 CEST

I have something like this:

<table name="test" id="test">
  <tr>
    <td><input type="button" onClick="showMeParentTableName();"></td>
  </tr>
</table>

How can I have my input button show me the table of it's parent table?
(eg. "test" in this case)
Received on Mon Oct 24 02:12:57 2005