As a follow-up to my question, I found this method
that utilizes regular JS, but I'd like to be able to
cause any link with a certain id to act as a "Submit Link".
Here's the code I found to create a text submit link:
<script language="JavaScript" type="text/javascript">
<!--
function getsupport ( selectedtype )
{
document.supportform.supporttype.value = selectedtype ;
document.supportform.submit() ;
}
-->
</script>
<form name="supportform" method="post" action="yourscriptname.cgi">
<input type="hidden" name="supporttype" />
<a href="javascript:getsupport('Paid')">Paid Support</a> or
<a href="javascript:getsupport('Free')">Free Support</a>
Thanks for any help in changing this to jQuery!
Rick
> -----Original Message-----
> From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Rick
> Faircloth
> Sent: Thursday, May 01, 2008 12:08 PM
> To: [email protected]
> Subject: [jQuery] Way to designate links as form submitters?
>
>
> Anyway to do that?
>
> Have certain links, say with an id of "link",
> to be programmed to submit a form when clicked?
>
> Rick
>