Re: problem in <tr>
| From: | Richard Lynch | Date: | Tue, 14 Aug 2007 20:05:17 +0000 |
| Subject: | Re: problem in <tr> | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-260821@lists.php.net to get a copy of this message | ||
On Mon, August 13, 2007 11:35 pm, shivendra wrote:
>
>
> Sir,u r not getting what i m trying to say,my problem is how can i
> send the
> values of <td>s in a perticuler row,by a function in onClick event of
> that
> row.actuallly the values are coming from database,and i what i want
> when i
> click a perticuler row the values are sent to some other page:
> <table>
> <tr name="t1" id="t1">
> <td>monu</td><td>23</td>
> </tr>
> <tr name="t2" id="t2">
> <td>suman</td><td>24</td>
> </tr>
> </table>
> like the values in <td>s of <tr name="t1"> is "monu" and
> "23" ,i want
> when i
> click on <tr name="t1"> ,"monu" and "23" is sent to some
> other
> page,similarly same procedure follows when i click the <tr name="t2">
> but
> this time the value would be "suman" and "24",i think u r getting
> what i m
> try to say.pls send the code for this:
<tr>
<td><a href="whatever.php?td1=monu&td2=23">monu</a></td>
<td><a href="whatever.php?td1=monu&td2=23">23</a></td>
</tr>
Trying to use the onClick of a TR is relying far too much on
Javascript and browser behaviour.
You can still have the onClick, I guess, for browsers that will "work"
--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?