function ctools_ajax_command_submit

Submit a form.

This is useful for submitting a parent form after a child form has finished processing in a modal overlay.

Parameters

$selector: The CSS selector to identify the form for submission. This can be any selector jquery uses in $().

File

includes/ajax.inc, line 144

Code

function ctools_ajax_command_submit($selector) {
    ctools_add_js('ajax-responder');
    return array(
        'command' => 'submit',
        'selector' => $selector,
    );
}