Is it possible that clicking on a row of a table will generate information particular to that row in a separate frame below the frame of the table? e.g. i have created following dummy table.
<table>
<script type="text/javascript">
var i =0;
for (i= 0;i<20;i++)
{
document.write("<tr><td><b>" + i);
document.write("</b></td><td>209.33.32.34</td><td>132.32.22.37</td><td>Bit-torrent</td><td>49000</td></tr>");
}
</script>
</table>
Actually, the scenario i am facing is a little complex.
i have 2 html files
- Parent.html (contains header, footer, and two tables i.e. table1 and table2)
- Child.html (contains only a single table i.e. dummyTable)
Child.html is included in table1 in Parent.html.
Is it possible that when i click on a row of dummyTable, some arbitrary text may appear in table2 of Parent.html??
Logically i need following flow
Parent.html -> table1: Child.html onClick() a row of a table in Child.html -> Parent.html -> table2: 'some arbitrary text'