in reply to CGI form help with buttons
This is mostly an HTML issue. There are a few ways you can do this.
You can create an image that looks like a button, and hyperlink it to the page you want to go to
<a href="/cgi-bin/my_script.pl?param1=foo"><img src="button_foo.png">< +/a>
If you know any CSS you could use a similar approach, but with a DIV tag styled to look like a button
You could create a small form and use a submit button
<form action="/cgi-bin/myscript.pl" method="POST"> <input type="hidden" name="param1" value="foo"/> <input type="submit" value="Go to Script"/> </form>
You can also use Javascript on a Button tag
<button onClick="window.location='http://mysite.com/cgi-bin/my_script. +pl?param1=foo'">Go to Script</button>
|
---|
In Section
Seekers of Perl Wisdom