Try something like:

$('#contact-form a').click(function() {
    $(this).parents('form').submit();
    return false;
});

Or: Simply style a submit input like a link (this is what I would do).

--Klaus


On 4 Feb., 15:38, Tintin81 <tkleem...@gmail.com> wrote:
> Hi Liam and Klaus,
>
> thanks for your swift feedback.
>
> I forgot to say that I am using the <a href="http://docs.jquery.com/
> Plugins/Validation">JQuery Validation Plugin</a> for this matter.
>
> The function I am using is rather simple:
>
> $(document).ready(function() {
>                 $("#contact-form").validate();
>                 $.extend($.validator.messages, {
>                         required: "",
>                         email: "",
>                 });
>
> How can I get it to work from an anchor tag in the form??
>
> Any helo is appeciated...

Reply via email to