Link to home
Start Free TrialLog in
Avatar of gaz1000
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,

ASKER CERTIFIED SOLUTION
Avatar of nacker2000
nacker2000

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of nacker2000
nacker2000

Soz I meant copy the code, not code the code...!?
I think u should try
<tr><td><a href=MyScript.php?aid=$asset_id>$asset_id</a></td>
and then collect it in MyScript.php from GET