Jump to content

Form Submit to hyperlink


jjmusicpro

Recommended Posts

I have this form below, and cant get it to go to a hyperlink from a button control.

It seems that in the action tag, it cant take parmaters, when it click, it only goes to base site, nothing is added for paramters

Ive tried the 2 ways below, both dont work.

 

my_site is my url decided to not put it in

 

<form action="http://my_site/modules.php?name=Content&pa=showpage&pid=2"  name="groovyform"><input type="submit" class="groovybutton" value="Group Information" /></form>

 

<form><input type="button" value="Joes button" onClick="window.location.href='http://my_site/modules.php?name=Content&pa=showpage&pid=2'"></form>

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

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.