in reply to Calling a sub-routine in CGI
Hi Anonymous Monk,
Hmmm... Yes, it easy, depending on what you want to do. Are you
a) Trying to execute what ever is in &toggle_on and put the output of that text in your A HREF command, or are you
b) Trying to get &toggle_on to execute when you click the ON hyperlink? It almost looks like this is what you're trying to do. If so, you're going the wrong way.
Solution A
print "<a href=" . &toggle_on . ">ON</a>";
Solution B
This is a very simplified way of going.
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Calling a sub-routine in CGI
by Anonymous Monk on Aug 09, 2002 at 11:33 UTC | |
by Massyn (Hermit) on Aug 09, 2002 at 12:36 UTC |