Generates a push button that can submit the current form in POST method.
public static ajaxSubmitButton ( string $label, mixed $url, array $ajaxOptions = [], array $htmlOptions = [] ) : string | ||
$label | string | the button label |
$url | mixed | the URL for the AJAX request. |
$ajaxOptions | array | AJAX options. |
$htmlOptions | array | additional HTML attributes. |
Результат | string | the generated button. |