You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Paul Stanton <pa...@mapshed.com.au> on 2010/06/14 03:19:36 UTC
cannot submit ajax form using form.submit javascript
I found Shawn Brownfield's post from aug 2009:
> The short of this is that there doesn't appear to be a really clean way
> to do this, though I'd love to be proved wrong. Here are a few options
> I see:
>
> Option1: The most straightforward way to submit a form with a zone via
> Ajax would be to programatically click the submit button via Javascript:
>
> $(submit_id).click();
I don't actually have a submit button on this form, so I'll need to
create one and then hide it just to get this working.
Are there any new solutions out there?
Regards, p.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: cannot submit ajax form using form.submit javascript
Posted by Inge Solvoll <in...@gmail.com>.
A simple and relatively clean solution:
http://tinybits.blogspot.com/2009/10/missing-javascript.html
On Mon, Jun 14, 2010 at 3:19 AM, Paul Stanton <pa...@mapshed.com.au> wrote:
> I found Shawn Brownfield's post from aug 2009:
>
> > The short of this is that there doesn't appear to be a really clean way
> > to do this, though I'd love to be proved wrong. Here are a few options
> > I see:
> >
> > Option1: The most straightforward way to submit a form with a zone via
> > Ajax would be to programatically click the submit button via Javascript:
> >
> > $(submit_id).click();
>
> I don't actually have a submit button on this form, so I'll need to create
> one and then hide it just to get this working.
>
> Are there any new solutions out there?
>
> Regards, p.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>