Thanks for the quick reply!

Your code does submit the form, however it does unfortunately submit
the form even though verification should fail. :(
Anyone got an idea of how to solve this issue?

Regards,
Viktor

On 21 Jan, 14:58, Liam Potter <radioactiv...@gmail.com> wrote:
> $(”form a.form_submit”).click(function() {|
>         document.form-name-here.submit();
> |       return false;
>
> });
> viktorlidh...@gmail.com wrote:
> > Thanks for a great plugin! Unfortunately I got a problem with the
> > latest version (and jquery 1.3).
>
> > I need to submit forms through links instead of input buttons. I’ve
> > used the following code to do this:
>
> > $(”form a.form_submit”).click(function() {
> >   $(this).parents().filter(”form”).trigger(”submit”);
> >   return false;
> > });
>
> > This used to work perfectly together with the validation plugin, but
> > is broken since the update (the form isn’t submitted). Any ideas for a
> > workaround, or will I need to downgrade jquery?
>
> > Thanks,
>
> > Viktor

Reply via email to