Re: problem in <tr>

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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&amp;td2=23">monu</a></td>
  <td><a href="whatever.php?td1=monu&amp;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?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux