Jump to content

Archived

This topic is now archived and is closed to further replies.

Randy

Submit Button

Recommended Posts

Is it possible to make a submit button just look like a normal link...
if i was to use
whatever.php?msg=This is the message and it would probably be too long to use GET

Share this post


Link to post
Share on other sites
Hi,

You could try this:
[code]
<form name="nameOfTheForm" action="phptest1.php" method="POST">
<input type="hidden" name="msg" value="This is the message and it would probably be too long to use GET"/>
<a href="javascript :document.nameOfTheForm.submit();">submit</a>
</form>
[/code]

(Remove the blank after 'javascript' and before ':')

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.