Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Banned
    Join Date
    Oct 2003
    Posts
    76
    Thanks
    0
    Thanked 0 Times in 0 Posts

    How do I turn this button info into just a link

    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.

  • #2
    Regular Coder Aradon's Avatar
    Join Date
    Jun 2005
    Location
    USA
    Posts
    734
    Thanks
    0
    Thanked 20 Times in 19 Posts
    It is, but this is not javascript, it's java.

    Moved.
    "To iterate is human, to recurse divine." -L. Peter Deutsch

  • #3
    Regular Coder
    Join Date
    Feb 2005
    Posts
    679
    Thanks
    0
    Thanked 16 Times in 15 Posts
    Here's an example:
    Code:
    <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>


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •