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

Re: CGI form help with buttons

by thunders (Priest)
on Jul 29, 2011 at 19:52 UTC ( #917534=note: print w/ replies, xml ) Need Help??

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/"><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/" 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=' +pl?param1=foo'">Go to Script</button>

Comment on Re: CGI form help with buttons
Select or Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://917534]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2015-11-29 10:33 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (750 votes), past polls