Jump to content


Photo

Submit Button


  • Please log in to reply
1 reply to this topic

#1 Randy

Randy
  • Members
  • PipPip
  • Member
  • 25 posts
  • LocationNewcastle, UK

Posted 08 March 2006 - 05:25 PM

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

#2 JasperBosch

JasperBosch
  • New Members
  • Pip
  • Newbie
  • 8 posts
  • LocationApeldoorn, The Netherlands

Posted 08 March 2006 - 06:57 PM

Hi,

You could try this:
<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>

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






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users