gaz1000
asked on
Get cell table contents
Hi,
I'm looking to get the cell contents (only text) after I click on a row.
<tr onDblclick='newWindow()'>< td>$asset_ id</td>
If I double click on a row a new window opens as above....would it be possible to pass the contents of one of the cells into the new window so I can then read some from a database as one of the table cells holds the primary key??
Thanks,
I'm looking to get the cell contents (only text) after I click on a row.
<tr onDblclick='newWindow()'><
If I double click on a row a new window opens as above....would it be possible to pass the contents of one of the cells into the new window so I can then read some from a database as one of the table cells holds the primary key??
Thanks,
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Soz I meant copy the code, not code the code...!?
I think u should try
<tr><td><a href=MyScript.php?aid=$ass et_id>$ass et_id</a>< /td>
and then collect it in MyScript.php from GET
<tr><td><a href=MyScript.php?aid=$ass
and then collect it in MyScript.php from GET