These suggestions helped, but I now I can't figure out how to submit a
form with a URL of an external site... i.e. my site is http://www.abc.com/
, but I want to submit a form to http://www.123.com/

Is this possible in ajax?

Thanks,

A.

On Dec 13, 8:22 am, Mike Alsup <[email protected]> wrote:
> > I have a dynamically created form that I'd like to submit
> > automatically after it loads.  It doesn't look like forms have an
> > onload event.  I would use the window onload, but the form isn't
> > necessarily around when the window loads - it is created later in a
> > jquery popup.
>
> > Any suggestions?  I am using the jquery form plugin if it matters.
>
> After you create the form and insert it into the DOM, select it and
> invoke the submit method.  For example:
>
> $('#someDiv').append('<form id="myForm">...</form>');
> $('#myForm').submit();

Reply via email to