Edit this page

up.form up.form.submitButtons(root)
JavaScript function

This feature is experimental. It may be changed or removed in a future version.

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.

Parameters

root ElementorjQuery

The element to scan for contained submit buttons.

Return value

List<Element>

The list of found submit buttons.