...

View Full Version : How do I turn this button info into just a link



dominickm
08-26-2007, 02:16 AM
I was told this was a javascript issue

I am trying to turn this form button into just a link, anyone know how?

<FORM name="USERFAVOUR" method="post" action="{$baseurl}/my_favour.php">
<input type="hidden" name="rvid" value="{$answers[i].VID}">
<input type="submit" name="removfavour" value="Remove Favorite"> </FORM>

It is calling on my_favour.php to remove something.

Thank you.

Aradon
08-26-2007, 07:49 AM
It is, but this is not javascript, it's java.

Moved.

rwedge
08-26-2007, 07:42 PM
Here's an example:
<form name="USERFAVOUR" method="post" action="{$baseurl}/my_favour.php">
<input type="hidden" name="rvid" value="{$answers[i].VID}">
<noscript><input type="submit" name="removfavour" value="Remove Favorite"></noscript>
<a href="javascript:document.USERFAVOUR.submit()">Remove Favorite</a>
</form>



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum