Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re: button in a table?

by hiseldl (Priest)
on Apr 11, 2003 at 17:06 UTC ( #249930=note: print w/replies, xml ) Need Help??

in reply to button in a table?

You could create a link as a row number as your first column.

while (@row = ...) { # include the rownum as part of the link print Tr( td( [a({-href=>"XXX".++$rownum}, "$rownum"), @row] ) + ); # Or, just the rownum with a different link #print Tr( td( [a({-href=>"XXX"}, ++$rownum), @row] ) ); }

Update: you could replace XXX with the URL of your cgi script and add a rownum param via GET. I.e. ... [a({-href=>"http://localhost/script_to_read_rownum.cgi?rownum=".++$rownum}, $rownum), ...]


What time is it? It's Camel Time!

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://249930]
[shmem]: robby_dobby: since everything is everything, it is thus also everything2. And everything2 is based on... you name it.
[Corion]: Mhhmmm. I just had to remind two contractos of their priorities from my point of view. This felt somewhat like getting my godson+siblings to clean their room, including the evil eye I threw them ;)
shmem .oO( "I am God! (at least on PerlMonks.) Behold my lightning!" )

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (12)
As of 2017-04-25 13:35 GMT
Find Nodes?
    Voting Booth?
    I'm a fool:

    Results (454 votes). Check out past polls.