up.form.submitButtons(root)
JavaScript function
This feature is experimental. Please share your experiences so we know what to keep or change.
Returns a list of submit buttons within the given element.
You can configure what Unpoly considers a submit button by adding CSS selectors to the
up.form.config.submitButtonSelectors array.
Buttons in another layer and buttons that are being destroyed are ignored.