> 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