A way to submit a form with a link?

  • Ryoma
  • Born
  • Born
  • Ryoma
  • Posts: 1

Post 3+ Months Ago

This has probably been asked before... but seeing as how I wasn't around to see it, I'm wondering if anyone could help me out. Is there a way to submit a form using a text link?

And I'd prefer to stay away from querystrings... I don't like querystrings :| lol
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • RichB
  • Guru
  • Guru
  • User avatar
  • Posts: 1121
  • Loc: Boston

Post 3+ Months Ago

You can do it with javascript:

Code: [ Select ]
<a href="javascript:document.forms[0].submit()">submit</a>


You might want to add a noscript tag for people who have javascript disabled.

Code: [ Select ]
<noscript>You must enable javascript for this form.</noscript>

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: rohanratnaparkhi and 55 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.