#104277
jqwidgetsdev
Participant

Hi Svetoslav,

Thanks for the example, I understand it now.

BTW the reason I arrived at

form.submitOptions = {
            async: true,
            action: "<omitted>",
            target: "",
            method: "POST"
        };

is because of this https://www.htmlelements.com/docs/form-api/

submit( submitOptions?: any): void
Submits the form.

Arguments
submitOptions?any
Sets the submit options object. The object may have the following properties: async, action, target, method. async determines whether the form will be submitted asynchronously. action determines the submit url, method sets whether the submit is through 'GET' or 'POST'. target determines the submit target.

Maybe the documentation can be updated?

Best regards.